mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-10 15:12:07 +00:00
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:
@@ -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>
|
5
res/drawable/touch_highlight_background.xml
Normal file
5
res/drawable/touch_highlight_background.xml
Normal 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>
|
Reference in New Issue
Block a user