【发布时间】:2012-06-18 05:45:50
【问题描述】:
这是我的复选框的 XML:
<CheckBox
android:id="@+id/atm_checkbox"
android:layout_width="20dp"
android:layout_height="20dp"
android:background="@color/input_color" />
它看起来像这样:
http://imageshack.us/photo/my-images/528/47342915.png/
这是我在网上找到的:
<CheckBox
android:id="@+id/chkAndroid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/chk_android"
android:checked="true" />
看起来像this
如何将我的复选框更改为我在互联网上找到的复选框。 由于我的代表是
我认为这两个 xml 的代码相似,但为什么它们看起来如此不同?
【问题讨论】:
-
上传到一些图片服务并给我们链接。
-
请分享图片链接:您的复选框现在的样子以及您希望如何显示它?
标签: android android-layout checkbox