android自定义CheckBox和RadioButton中文字和图片之间距离
来源:互联网 发布:数据库基础教程 pdf 编辑:程序博客网 时间:2024/05/09 19:33
红色标注的就是重点
<RadioButton android:id="@+id/radio2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@null" android:button="@null" android:drawableLeft="@drawable/radiobutton" android:text="男" />
<CheckBox android:id="@+id/allBox" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:background="@null" android:button="@null" android:drawableLeft="@drawable/checkbox" android:textSize="12sp" android:text="全选" /><?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@mipmap/ic_checkbox_f" android:state_checked="true" /> <!-- checked --> <item android:drawable="@mipmap/ic_checkbox_norm" android:state_checked="false" /> <!-- default --></selector>
0 0
- android自定义CheckBox和RadioButton中文字和图片之间距离问题解决
- android自定义CheckBox和RadioButton中文字和图片之间距离
- 文字和自定义图片居中的RadioButton
- checkbox 设定文字和选框之间的距离及自定义样式
- Android CheckBox和RadioButton
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中自定义checkbox大小和图片
- android中checkbox和radiobutton的使用
- Android中RadioButton和Checkbox的使用
- 自定义CheckBox文字和图片的位置
- RadioButton和CheckBox自定义样式
- RadioButton和CheckBox自定义样式
- Java数组对象转型
- 保存/恢复Activity和Fragment状态的最佳实践(译)
- Android —— Dagger依赖注入库
- osg::Geode,osg::Drawable,osg::Shape,osg::Geometry
- 第三周项目4(2)顺序表的应用
- android自定义CheckBox和RadioButton中文字和图片之间距离
- java 如何保证接口的安全性
- mqtt paho ssl java端代码【转】
- 全局变量和局部变量在内存里的区别
- Android基础知识点
- Content-disposition中Attachment和inline的区别、ContentType设置
- 【Qt开发】 数字转QString格式化
- mysql 常见问题
- MySQL优化