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

Commit a8acbbc0 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '2952-a15-theme' into 'a15'

Port theme changes from A14

See merge request e/os/android_frameworks_base!274
parents 6316e41c 2077f11b
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>
+3 −4
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2022 The Android Open Source Project
<!-- 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.
@@ -15,5 +14,5 @@
     limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="@color/settingslib_colorAccentSecondary" />
    <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