设置方法 : android:background="@drawable/selector"
如果只有这个的话,是不起作用的。还必须加上: android:clickable="true"
其他控件同理
转载于:https://blog.51cto.com/8985556/1548096
设置方法 : android:background="@drawable/selector"
如果只有这个的话,是不起作用的。还必须加上: android:clickable="true"
其他控件同理
转载于:https://blog.51cto.com/8985556/1548096