i have following xml code:
it seems textview reflects 10 dp padding checkbox on right side not. textview , checkbox not aligned each other. know why checkbox not conforming 10 dp padding? , there way align textview , checkbox?
<checkedtextview android:id="@+id/nearmecheckedtextview" android:layout_width="match_parent" android:layout_height="wrap_content" android:checkmark="?android:attr/listchoiceindicatormultiple" android:clickable="true" android:paddingtop="10dp" />
see example... work me
<checkedtextview xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/checkedtextviewinterest" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_vertical" android:padding="12dp" android:checkmark="?android:attr/listchoiceindicatormultiple" />
Comments
Post a Comment