设置方法 : android:background="@drawable/selector"
如果只有这个的话,是不起作用的。还必须加上: android:clickable="true"
其他控件同理
文章标签 background android 文章分类 Android 移动开发
设置方法 : android:background="@drawable/selector"
如果只有这个的话,是不起作用的。还必须加上: android:clickable="true"
其他控件同理
上一篇:笔记-ABS与上下拉刷新
下一篇:dp和px换算公式
【IDEA】idea设置默认maven配置, 避免每次设置maven
在此Item项布局文件中添加android:background="@drawable/list_selector"list_selector.xml:
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M