按钮背景效果切换 selector
2016-03-09 15:56
225 查看
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!--选中时的图片背景--> <item android:state_checked="true" android:drawable="@drawable/er" /> <item android:state_checked="false" android:drawable="@drawable/erer" /> </selector>
相关文章推荐
- ListView
- javascript中callee与caller的用法和应用场景
- ClassLoader 详解及用途
- JS第11天
- 在powerdesigner中创建物理数据模型
- String、StringBuffer与StringBuilder之间区别
- AngularJs优化小记
- 查询时给某列赋值
- 复高斯白噪声的产生与叠加方法总结
- 自我介绍
- Java基础查漏补缺
- 使用TortoiseGit提交代码到Github.com上 详细步骤
- 105 - Construct Binary Tree from Preorder and Inorder Traversal
- C++细枝末节
- swift:使用NSJSONSerialization和SwiftyJSON两种方法解析网络返回的json格式数据
- 自我介绍
- linux中shell变量$#,$@,$0,$1,$2的含义解释
- 3.9 移动端使用iscroll出现的问题,多图片进行切换出现的问题,active选择器
- html5 canvas画进度条
- 作业一:(1)自我介绍,课本问题