Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 570de0f6 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Theme system components according to our palette

parent e0cf736b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_checked="false" android:color="@color/e_switch_thumb_off" />
    <item android:color="@color/e_switch_thumb_on" />
</selector>
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="false" android:color="@color/e_switch_track_off" android:alpha="@dimen/switch_disabled" />
    <item android:state_checked="true" android:color="@color/e_switch_track_on" />
    <item android:color="@color/e_switch_track_off" />
</selector>
+18 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="@color/system_neutral1_500" android:lStar="5" />
</selector>
+9 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:top="2dp" android:left="2dp" android:right="2dp" android:bottom="2dp">
        <shape android:shape="oval" >
            <size android:height="20dp" android:width="20dp" />
            <solid android:color="@color/e_switch_thumb_color" />
        </shape>
    </item>
</layer-list>
+9 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle"
    android:width="36dp"
    android:height="20dp">
    <solid android:color="@color/e_switch_track_color" />
    <corners android:radius="50dp" />
</shape>
Loading