网格点击半透明都效果选择器
This commit is contained in:
parent
6242026fda
commit
d8731cfde3
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
</selector>
|
Loading…
Reference in New Issue