forked from upstream-mirrors/quik
Add support for themed Switches
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.widget.SwitchCompat android:id="@+id/checkbox"
|
||||
<com.moez.QKSMS.presentation.view.QkSwitch android:id="@+id/checkbox"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -18,6 +18,15 @@
|
||||
<color name="list_separator">#F2F2F2</color>
|
||||
<color name="row_selected">#F5F5F5</color>
|
||||
|
||||
<color name="switch_thumb_enabled_light">#ECECEC</color>
|
||||
<color name="switch_track_enabled_light">#A6A6A6</color>
|
||||
<color name="switch_thumb_disabled_light">#B9B9B9</color>
|
||||
<color name="switch_track_disabled_light">#D6D6D6</color>
|
||||
<color name="switch_thumb_enabled_dark">#B9B9B9</color>
|
||||
<color name="switch_track_enabled_dark">#646464</color>
|
||||
<color name="switch_thumb_disabled_dark">#595959</color>
|
||||
<color name="switch_track_disabled_dark">#383838</color>
|
||||
|
||||
<!-- This colour should only ever be used for attrs with the tools tag -->
|
||||
<color name="tools_theme">#008389</color>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user