Merge pull request #454 from veeti/highlights

Update card highlight style
This commit is contained in:
Moxie Marlinspike 2013-12-04 14:19:54 -08:00
commit 99d295abc5
3 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:drawable/list_selector_background"
android:state_pressed="true" />
<item android:state_pressed="true">
<shape>
<solid android:color="@color/card_background_active" />
</shape>
<bitmap android:src="@drawable/card" />
</item>
<item android:drawable="@drawable/card" />
</selector>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="card_background_active">#99bebebe</color>
</resources>

View File

@ -11,4 +11,6 @@
<color name="textsecure_holo_blue_light">#ff33b5e5</color>
<color name="card_background_active">#9933b5e5</color>
</resources>