Fix color

This commit is contained in:
Alexey Pelykh 2015-02-02 15:06:28 +02:00
parent c40d408597
commit bc1d10053e
2 changed files with 20 additions and 0 deletions

View 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>

View file

@ -60,6 +60,7 @@
android:paddingLeft="9.5dp" android:paddingLeft="9.5dp"
android:paddingRight="9.5dp" android:paddingRight="9.5dp"
android:textAllCaps="true" android:textAllCaps="true"
android:textColor="@color/switch_ex_text_color"
android:textOff="@string/enable_plugin" android:textOff="@string/enable_plugin"
android:textOn="@string/disable_plugin" android:textOn="@string/disable_plugin"
android:textSize="12sp" android:textSize="12sp"