Listview with checkedtextview
I have two questions: If I am using CheckedTextView in a ListView and my class only extends Activity (instead of ListActivity ), since I have another button at the bottom below my ListView , what event should I listen on, when a checkbox is selected in the CheckedTextView ? If I extend my class to use ListActivity , I can use onListItemClick event, right? How can I add a new button to this type of layout? Here is my code.. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); m_versionText=(TextView)findViewById(R.id.versionText);