13 lines
1.1 KiB
XML
13 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_mediumAnimTime">
|
|
|
|
<item android:drawable="@android:color/transparent" android:state_window_focused="false"/>
|
|
|
|
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
|
|
<item android:drawable="@drawable/list_selector_disabled_holo_dark" android:state_enabled="false" android:state_focused="true" android:state_pressed="true"/>
|
|
<item android:drawable="@drawable/list_selector_disabled_holo_dark" android:state_enabled="false" android:state_focused="true"/>
|
|
<item android:drawable="@drawable/list_selector_background_transition_holo" android:state_focused="true" android:state_pressed="true"/>
|
|
<item android:drawable="@drawable/list_selector_background_transition_holo" android:state_focused="false" android:state_pressed="true"/>
|
|
<item android:drawable="@drawable/list_focused_holo" android:state_focused="true"/>
|
|
|
|
</selector> |