android: CheckedTextView cannot be checked?
Posted
by Yang
on Stack Overflow
See other posts from Stack Overflow
or by Yang
Published on 2010-04-13T05:41:43Z
Indexed on
2010/04/13
5:42 UTC
Read the original article
Hit count: 826
Initially I wanted a checkmark where the text is placed on the left of the checkmark. After searching on this site I found out the best workaround is android:CheckedTextView? However, I found out that the checkmark cannot be changed manually by users. Is it by design?
<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"/>
© Stack Overflow or respective owner