[android-developers] Radio buttons with items in a ListView bound to a data table

2012-02-03 Thread blagdonman
I am unable to get radio buttons to appear in list items when a list view is bound to a data table. When a list view is bound through an ArrayAdaptor I can arrange for radio buttons to appear in the list items by: a) Creating a new activity that extends ListActivity. b) Setting selection mode to

[android-developers] Re: Radio buttons with items in a ListView bound to a data table

2012-02-04 Thread blagdonman
Correction to original post: the reference to built-in layouts should, of course, read as android.R.layout.simple_list_item_single_choice or android.R.layout.simple_list_item_multiple_choice. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Highlighting items in Listview

2012-02-06 Thread blagdonman
I have an Activity that extends ListActivity where I want items selected in the list to remain highlighted in a chosen colour. For test purposes I've tried the approach shown below but I can only get items to flash the required colour when selected and not stay highlighted. The list is bound