<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="20dip">
<CheckBox
android:id="@+id/login_cb_savepwd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24.0px"
android:checked="true"
android:paddingLeft="60.0px" 将60改为40
android:text="@string/opt_remember"
android:textSize="16.0sp" />
</LinearLayout>
本文详细解析了一个具体的布局XML文件,展示了如何使用LinearLayout及CheckBox组件,并调整其属性如margin、padding等来实现特定的UI布局效果。
5376

被折叠的 条评论
为什么被折叠?



