对TextView ImageView 设置了drawable selector 发现不管用问题:

原因是需要设置如下属性

android:clickable="true" //能点击android:focusable="true" //能选中


更多相关文章

  1. android studio设置debug.keystore
  2. 学习笔记-Android(安卓)Gallery实现
  3. Android(安卓)Studio
  4. ScrollView的使用
  5. android:windowSoftInputMode属性使用
  6. android:background="?attr/colorPrimary",Android中 @和?区别以
  7. selector下的按钮介绍
  8. Android串口开发,基于官方的android-serialport-api增加支持设置
  9. android 全屏 webview 加载的h5的输入框,被键盘遮挡的解决

随机推荐

  1. Android(安卓)文件系统移植
  2. Android下Bonjour服务的使用
  3. MVP 笔记
  4. Android平台软件体系浅注
  5. Android菜鸟日记12 Gallery
  6. Android中常用基本控件的使用方法和步骤(.
  7. android——彻底关闭——应用程序
  8. JavaEye Android(安卓)client 收藏管理功
  9. Android入门一(View和Button)
  10. Android文档阅读05—Hello, Android!及调