Ban đầu tôi muốn một dấu kiểm nơi văn bản được đặt ở bên trái dấu kiểm. Sau khi tìm kiếm trên trang web này tôi phát hiện ra cách giải quyết tốt nhất là android: CheckedTextView? Tuy nhiên, tôi phát hiện ra rằng không thể thay đổi dấu kiểm theo cách thủ công bởi người dùng. Có phải do thiết kế?android: CheckedTextView không thể kiểm tra được?
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/autoupdatecheckboxview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft="6dip"
android:paddingRight="6dip"
android:text="Pop up a message when new data available"
android:typeface="sans" android:textSize="16dip"/>
Sau đó, CheckedTextView phải được đặt tên là ListCheckedTextView? goddamn google –