mardi 20 janvier 2015

Android checkbox default behaviour is different on phones and tablets

I am using a standard android checkbox in my application like this.



<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:textColor="@color/white"
android:textSize="12sp" />


The checkbox's default behavior of checked is displayed in phones but it remains unchecked in tablets. Am I missing something here ?





Aucun commentaire:

Enregistrer un commentaire