[英]Android checkbox default behaviour is different on phones and tablets
我在我的應用程序中使用這樣的標准android復選框。
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:textColor="@color/white"
android:textSize="12sp" />
復選框的默認行為“已選中”顯示在手機中,但在平板電腦中未選中。 我在這里想念什么嗎?
您可以使用
android:checked="true"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.