对TextView ImageView 设置了drawable selector 发现不管用问题
16lz
2021-12-04
对TextView ImageView 设置了drawable selector 发现不管用问题:
原因是需要设置如下属性
android:clickable="true" //能点击android:focusable="true" //能选中
更多相关文章
- android studio设置debug.keystore
- 学习笔记-Android(安卓)Gallery实现
- Android(安卓)Studio
- ScrollView的使用
- android:windowSoftInputMode属性使用
- android:background="?attr/colorPrimary",Android中 @和?区别以
- selector下的按钮介绍
- Android串口开发,基于官方的android-serialport-api增加支持设置
- android 全屏 webview 加载的h5的输入框,被键盘遮挡的解决