tags:

views:

17

answers:

0

I have created a listview using the "simple_list_item_multiple_choice.xml" file but whenver i select any item ,the text in the textview moves . I am following a layout:

 <Button android:id="@+id/Done_Button" 
 android:layout_width="wrap_content" 
 android:layout_height="wrap_content"
  android:text="Done">
  </Button>

  <Button android:id="@+id/Cancel_Button"
   android:layout_width="wrap_content" 
   android:layout_height="wrap_content" 
   android:text="Cancel">
   </Button>

   </LinearLayout>

and populating the list from an adapter hwre List adapter is my class extending Cursor adapter. **

ListAdapter mAdapter = new SimpleCursorAdapter( this, android.R.layout.simple_list_item_multiple_choice, cursor, columns, to); this.setListAdapter(mAdapter);

**

Any suggestions would be appreciated