Replaced the selectors with the ones from cabinet to fix the ripple flickering bug.

This commit is contained in:
Karim Abou Zeid 2015-05-21 18:27:22 +02:00
commit 5dd57ef3ed
24 changed files with 64 additions and 78 deletions

View file

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/rect_selected" />
<item android:drawable="@drawable/transparent" />
<item android:state_activated="true" android:state_pressed="true" android:drawable="@color/activated_selected_light" />
<item android:state_activated="true" android:drawable="@color/ripple_material_light" />
<item android:state_pressed="true" android:drawable="@color/ripple_material_light" />
<item android:drawable="@android:color/transparent" />
</selector>