配置好的checkBox 拿来就用
来源:互联网 发布:资本主义灭亡 知乎 编辑:程序博客网 时间:2024/05/22 13:17
布局文件
<CheckBox android:id="@+id/cb_agree" style="@style/CustomCheckboxTheme" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:text="@string/CheckBox_agree" android:paddingLeft="6dp" android:textColor="@color/black" android:textSize="@dimen/tSize16" />
主题样式
<style name="CustomCheckboxTheme" parent="@android:style/Widget.CompoundButton.CheckBox"> <item name="android:button">@drawable/checkbox_style</item></style>
状态选择器 默认点击的时候是屎黄的
<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/checkbox_true" android:state_checked="true"/> <item android:drawable="@drawable/checkbox_false" android:state_checked="false"/></selector>
背景图片下载
0 0
- 配置好的checkBox 拿来就用
- 配置好的webview 拿来就用
- 配置好的popupwindow 拿来就用
- 配置好的自定义AlertDialog 拿来就用
- 拿来就用的icmp头
- 带EditText的AlertDialog 拿来就用
- 不要拿来就用
- 拿来就用ip头
- 《拿来就用单片机》摘录
- Android dialogUtils 拿来就用
- ASP翻页程序,拿来就可以用的
- 拿来就用的20个android开源项目
- 最简单易懂拿来就可以用的Javascript知识
- 在IM中拿来就用的录音Demo
- 带EditText的AlertDialog 白色主题 拿来就用
- Android 拿来就用的圆形图片控件
- 拿来就能用的常用代码集
- VC线程池,拿来就用
- Base.css
- 数据库设计的满足的相关范式
- LINUX
- 利用ffmpeg提取视频中的图片
- memcache 基本使用-已测试
- 配置好的checkBox 拿来就用
- Servlet&JSP思维导图
- sqlserver2000 下导出Excel数据
- libzmq在inproc://模式下性能测试
- hduoj 1087 数塔【动态规划】
- Android7(N)开发者应该知道的一切(最全)
- python、psutil、ansible实现集群环境系统巡检工具
- git 服务器+git linux客户端搭建
- Oracle中视图的使用