You can check out the source code file that gives you insights into the layout file for simple_list_item_checked
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/layout/simple_list_item_checked.xml;h=95612f63f3144703913aee3f0d06e032074b8f0b;hb=HEAD It uses the CheckedTextView as its View. The two attributes that you can use for the CheckedTextView are checkMark and checked. <CheckedTextView xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@android:id/text1" android:layout_width="fill_parent" android:layout_height="?android:attr/listPreferredItemHeight" android:textAppearance="?android:attr/textAppearanceLarge" android:gravity="center_vertical" android:checkMark="?android:attr/textCheckMark" android:paddingLeft="6dip" android:paddingRight="6dip" /> Hope this helps, Balwinder Kaur Mobile.Software.Development ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 13, 8:16 am, jax <[email protected]> wrote: > I have been stuck on this for hours and cant find any information > about it. > > I am trying to use the following layout with a SimpleCursorAdapter > > android.R.layout.simple_list_item_checked > > The problem is I don't know what the checkbox field is called in this > layout. > > By experimentation the text field is called > > android.R.id.text1 > > I tried > > android.R.id.checkbox > > but it did not work. How do I find this information? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

