Fix color
This commit is contained in:
parent
c40d408597
commit
bc1d10053e
2 changed files with 20 additions and 0 deletions
19
OsmAnd/res/color/switch_ex_text_color.xml
Normal file
19
OsmAnd/res/color/switch_ex_text_color.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_checked="false"
|
||||
android:state_pressed="false"
|
||||
android:color="#ffffff"/>
|
||||
<item
|
||||
android:state_checked="false"
|
||||
android:state_pressed="true"
|
||||
android:color="#ffffff"/>
|
||||
<item
|
||||
android:state_checked="true"
|
||||
android:state_pressed="false"
|
||||
android:color="#ff8f00"/>
|
||||
<item
|
||||
android:state_checked="true"
|
||||
android:state_pressed="true"
|
||||
android:color="#ff8f00"/>
|
||||
</selector>
|
|
@ -60,6 +60,7 @@
|
|||
android:paddingLeft="9.5dp"
|
||||
android:paddingRight="9.5dp"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/switch_ex_text_color"
|
||||
android:textOff="@string/enable_plugin"
|
||||
android:textOn="@string/disable_plugin"
|
||||
android:textSize="12sp"
|
||||
|
|
Loading…
Reference in a new issue