Fix the send button's touch highlight color

Introduce a generic touch highlight background drawable, and use the
proper shades of blue (and gray on v19+).
This commit is contained in:
Veeti Paananen
2014-02-24 23:34:29 +02:00
parent a5c26b2e16
commit 633aa9b057
5 changed files with 8 additions and 25 deletions

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- pressed -->
<item android:state_pressed="true" >
<shape>
<solid android:color="#FF33B5E5" />
</shape>
</item>
<!-- focused -->
<item android:state_focused="true" >
<shape>
<solid android:color="#FF33B5E5" />
</shape>
</item>
<!-- default -->
<item>
<shape>
<solid android:color="#00ffffff" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@color/touch_highlight" />
<item android:drawable="@android:color/transparent" />
</selector>