Bump any ideas? please!!!

Thanks!
Sincerely
Jose C Gomez

http://www.josecgomez.com
Sent from Jacksonville, Florida, United States

On Tue, Dec 1, 2009 at 9:24 AM, Jose Gomez <[email protected]> wrote:

> Hello,
>
> I am fairly new to android and I am trying to do a simple and very common
> grocery list application
> where you type in an item and add it to a list then you can check that item
> off as you purchase it.
> I am using a ListView to do this but I can't seem to get it to show a
> checkbox instead of just a plain text
> is this a control that exists in android or do I have to make my own? If so
>  any pointers? I've looker around on on google but I can't
> find a solid example that uses the XML layout to do this.
>
> This is what I have for my layout so far
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout
> xmlns:android="http://schemas.android.com/apk/res/android";
> android:layout_width="fill_parent"
>  android:layout_height="fill_parent"
> android:orientation="vertical">
> <TableLayout
> xmlns:android="http://schemas.android.com/apk/res/android";
>  android:layout_width="fill_parent"
> android:layout_height="fill_parent"
>  >
> <TableRow
>  android:gravity="center"
> >
> <TextView
>  android:layout_width="fill_parent"
> android:layout_height="wrap_content"
>  android:text="@string/lblAddItem"
>  />
>  </TableRow>
> <TableRow
> android:gravity="center"
>  >
> <EditText
> android:id="@+id/txtItemAdd"
>  android:layout_width="200px"
> android:layout_height="wrap_content"
>
>  />
> <Button
> android:id="@+id/btnAddItem"
>  android:layout_width="50px"
> android:layout_height="50px"
>  android:text="Add"
> />
> <ImageButton
>  android:id="@+id/btnScanItem"
> android:layout_width="60px"
>  android:layout_height="50px"
> android:scaleType="center"
> android:src="@drawable/barcode"
>  />
> </TableRow>
> <TableRow>
>  <ListView
> android:id="@+id/lvItems"
> android:layout_width="fill_parent"
>  android:layout_height="wrap_content"
> >
> </ListView>
>  </TableRow>
> </TableLayout>
>
> </LinearLayout>
>
>
> Thanks!
>
> Sincerely
> Jose C Gomez
>
> http://www.josecgomez.com
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to