Просмотр исходного кода

Made the selectors white on Jellybean/ICS rather than blue.

Aidan Follestad 10 лет назад
Родитель
Сommit
1611783c35

+ 1 - 1
library/src/main/res/drawable/list_selector.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="@android:integer/config_mediumAnimTime" android:exitFadeDuration="@android:integer/config_mediumAnimTime">
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="@android:integer/config_shortAnimTime" android:exitFadeDuration="@android:integer/config_shortAnimTime">
 
     <item android:state_pressed="true" android:drawable="@drawable/list_item_selected" />
     <item android:drawable="@drawable/transparent" />

+ 1 - 1
library/src/main/res/drawable/list_selector_dark.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="@android:integer/config_mediumAnimTime" android:exitFadeDuration="@android:integer/config_mediumAnimTime">
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="@android:integer/config_shortAnimTime" android:exitFadeDuration="@android:integer/config_shortAnimTime">
 
     <item android:state_pressed="true" android:drawable="@drawable/list_item_selected_dark" />
     <item android:drawable="@drawable/transparent" />