背景色根据状态更改颜色 android:backgroup
来源:互联网 发布:淘宝如何换类目 编辑:程序博客网 时间:2024/06/06 03:56
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true"><shape> <gradient android:angle="0" android:centerColor="#00a59f" android:endColor="#00a59f" android:startColor="#00a59f" /> </shape></item> <item android:state_focused="true"><shape> <gradient android:angle="0" android:centerColor="#00a59f" android:endColor="#00a59f" android:startColor="#00a59f" /> </shape></item> <item android:state_pressed="true"><shape> <gradient android:angle="0" android:centerColor="#00a59f" android:endColor="#00a59f" android:startColor="#00a59f" /> </shape></item> <item><shape> <gradient android:angle="0" android:centerColor="#00ff00" android:endColor="00ff00" android:startColor="00ff00" /> </shape></item></selector>
0 0
- 背景色根据状态更改颜色 android:backgroup
- 精确获取屏幕尺寸 判断是否是平板 文字根据状态更改颜色 android:textColor 背景色根据状态更改颜色 android:backgroup 启动APK的默认Activit
- 更改Textiew背景色和字体颜色
- UISegmentedControl-更改背景色和字体颜色
- UISegmentedControl-更改背景色和字体颜色
- FloatingActionButton更改背景色和点击颜色
- Android 更改TextView文字颜色(引用Drawable颜色常数及背景色)
- 根据背景色动态改变前景色按钮的颜色
- Android学习笔记(三) —— 更改TextView文字颜色及文字背景色
- win7下 背景色更改为护眼颜色
- vc6.0中更改对话框背景色和字体颜色
- 更改UISearchBar 的背景色、取消按钮颜色
- myeclipse如何更改字体颜色以及背景色
- 状态栏背景色及其文字图标颜色更改
- 更改Word2010背景色
- wkWebView更改背景色
- Android美工坊--listview更改选中时item背景色
- Android美工坊--listview更改选中时item背景色
- 移动前端开发之viewport的深入理解
- android:使用BaseExpandableListAdapter实现可折叠的列表
- iOS 面试中遇到的部分问题及简单答案(1)->(陆续更新)
- Apache Ignite之集群应用测试
- XML文件转换成字符串互相转换操作
- 背景色根据状态更改颜色 android:backgroup
- java抽象类
- struts访问流程
- 面试Java基础之ArrayList、LinkedList、Vector比较
- JDBC---DAO经典模式
- 单例模式
- Java序列化之transient
- 线上应用故障排查之一:高CPU占用
- jira scriptrunner的并行审批遇到的一点问题