Better grid item selector drawable.
This commit is contained in:
parent
bb1f6c0c4b
commit
3ea94d5c4a
23 changed files with 117 additions and 96 deletions
9
app/src/main/res/drawable/rect_selector_strong.xml
Normal file
9
app/src/main/res/drawable/rect_selector_strong.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/ate_control_normal_light" android:state_activated="true" android:state_pressed="true" />
|
||||
<item android:drawable="@color/ate_control_normal_light" android:state_activated="true" />
|
||||
<item android:drawable="@color/ate_control_normal_light" android:state_pressed="true" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/rect_selector_strong_dark.xml
Normal file
9
app/src/main/res/drawable/rect_selector_strong_dark.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/ate_control_normal_dark" android:state_activated="true" android:state_pressed="true" />
|
||||
<item android:drawable="@color/ate_control_normal_dark" android:state_activated="true" />
|
||||
<item android:drawable="@color/ate_control_normal_dark" android:state_pressed="true" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
|
||||
</selector>
|
||||
Loading…
Add table
Add a link
Reference in a new issue