会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
test
Lechance's Homepage
The code to change the world
博客园
首页
联系
订阅
管理
2014年11月15日
android selector失效的原因
摘要: 问题重现:使用selector,期望按下按钮时 Button 图片变色,代码如下: 其中,selector 具体写在btn_match.xml 中,控制各种 state 下按钮的应有的状态。但是实际运行时按钮并不变色。原因:首先,这个不是 pressed、selected、default 的顺序不对...
阅读全文
posted @ 2014-11-15 12:18 Lechance
阅读(427)
评论(0)
推荐(0)
公告