Commit a47a4f3d authored by Amit Kumar's avatar Amit Kumar

Define switch color in colors_material.xml

Change-Id: I56853b5829cfa1ba471d298c918a240efcf0438e
parent 29d0d746
......@@ -16,9 +16,9 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false"
android:color="#C8CED0"
android:alpha="0.75" />
android:color="@color/e_switch_disable"
android:alpha="?attr/disabledAlpha" />
<item android:state_checked="true"
android:color="#ff38D874" />
<item android:color="#C8CED0" />
android:color="@color/e_switch_enable" />
<item android:color="@color/e_switch_disable" />
</selector>
......@@ -53,6 +53,12 @@
<color name="switch_thumb_disabled_material_dark">#ff616161</color>
<color name="switch_thumb_disabled_material_light">#ffbdbdbd</color>
<!-- Switch track color specific to /e/ -->
<eat-comment/>
<color name="e_switch_enable">#ff38D874</color>
<color name="e_switch_disable">#ffC8CED0</color>
<!-- Text & foreground colors -->
<eat-comment />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment