Commit 5f37161f authored by Sébastien Toque's avatar Sébastien Toque

UI: fix selected item in lists

parent 1183cf0d
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="270"
android:centerColor="@color/item_1"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
\ No newline at end of file
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<gradient
android:angle="270"
android:centerColor="@color/orange"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
</item>
<item>
<shape>
<gradient
android:angle="270"
android:centerColor="@color/item_1"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
</item>
</selector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="270"
android:centerColor="@color/item_2"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
\ No newline at end of file
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<gradient
android:angle="270"
android:centerColor="@color/orange"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
</item>
<item>
<shape>
<gradient
android:angle="270"
android:centerColor="@color/item_2"
android:endColor="@color/item_common"
android:startColor="@color/item_common" />
</shape>
</item>
</selector>
......@@ -67,6 +67,7 @@
android:layout_height="fill_parent"
android:cacheColorHint="#00000000"
android:divider="#00000000"
android:listSelector="@android:color/transparent"
android:fastScrollEnabled="true" />
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment