Mow*_*2k2 6 layout android checkedtextview
只是一个快速简单的问题,我使用CheckedTextView,我想知道如果有的话,行代码,我可以用什么,放置复选框左侧,而不是右侧.
这是我目前的CheckedTextview代码:
<CheckedTextView
android:id="@+id/ootChild"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:textSize="17sp"
android:checkMark="@drawable/btn_check_off"
android:clickable="true"
android:checked="false"
android:onClick="toggle"/>
Run Code Online (Sandbox Code Playgroud)
如果没有一种简单或快速的方法,我可以随时使用CheckBox和TextView并将它们放置在我想要的位置.
Cod*_*key 22
添加android:drawableLeft="?android:attr/listChoiceIndicatorMultiple"为您的XML属性CheckedTextView.