I\'m trying to create a layout for a ListView, with a checkbox to the right and some text to the left. The checkbox should be aligned all the way to the right and the TextV
for first time you must set button to @null
android:button="@null"
if you want to onl move android checkbox to right use :
android:drawableRight="?android:attr/listChoiceIndicatorMultiple"
otherwise if you like to have custom image for checkbox use:
android:drawableRight="@drawable/selector_check_box"
and for set gravity to right :
android:gravity="right|center_vertical"
full action for use customize checkbox:
images :
