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

Commit 8942c621 authored by Sanket Padawe's avatar Sanket Padawe
Browse files

Change for setting transparency of sim colors.

Changes for setting transparency of sim colors in sim settings UI.

Change-Id: I5717da94bfb6bb260864a46c3898d347be96d6af
parent 2a03d8e2
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -1260,16 +1260,6 @@
        <item>Cached (empty)</item>
    </string-array>

    <!-- Array storing rgb values of sim colors for multi-sim -->
    <array name="sim_colors">
        <item>@color/Teal_700</item>
        <item>@color/Blue_700</item>
        <item>@color/Indigo_700</item>
        <item>@color/Purple_700</item>
        <item>@color/Pink_700</item>
        <item>@color/Red_700</item>
    </array>

    <!-- Array of titles for sim color for multi-sim -->
    <string-array name="color_picker">
        <item>Teal</item>
+0 −10
Original line number Diff line number Diff line
@@ -74,14 +74,4 @@
    <color name="switch_accent_color">#ff7fcac3</color>

    <color name="wifi_divider">#ffe0e0e0</color>

    <!-- Multi-SIM colors Todo: To check whether to append 00 or FF before color values-->
    <color name="Teal_700">#0000796b</color>
    <color name="Blue_700">#003367d6</color>
    <color name="Indigo_700">#00303f9f</color>
    <color name="Purple_700">#007b1fa2</color>
    <color name="Pink_700">#00c2185b</color>
    <color name="Red_700">#00c53929</color>


</resources>
+1 −1
Original line number Diff line number Diff line
@@ -465,7 +465,7 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
            mSlotId = slotId;
            setKey("sim" + mSlotId);
            update();
            colorArr = context.getResources().getIntArray(R.array.sim_colors);
            colorArr = context.getResources().getIntArray(com.android.internal.R.array.sim_colors);
        }

        public void update() {