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

Commit 1a9890e4 authored by Pat Manning's avatar Pat Manning
Browse files

Update bouncer input focused state to show outline instead of background highlight.

Fix: 309964334
Test: Open pin bouncer with hardware keyboard.
Change-Id: I3d2f212613e6eef7ab37df1fa063c69b732c6387
parent 8bc28f86
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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:state_focused="true">
        <shape android:shape="rectangle">
            <corners android:radius="16dp" />
            <stroke android:width="3dp"
                android:color="@color/bouncer_password_focus_color" />
        </shape>
    </item>
</selector>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@
    </style>
    <style name="Widget.TextView.Password" parent="@android:style/Widget.TextView">
        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
        <item name="android:background">@drawable/bouncer_password_text_view_focused_background</item>
        <item name="android:gravity">center</item>
        <item name="android:textColor">?android:attr/textColorPrimary</item>
    </style>
+3 −0
Original line number Diff line number Diff line
@@ -93,6 +93,9 @@
    <color name="qs_user_switcher_selected_avatar_icon_color">#202124</color>
    <!-- Color of background circle of user avatars in quick settings user switcher -->
    <color name="qs_user_switcher_avatar_background">#3C4043</color>
    <!-- Color of border for keyguard password input when focused -->
    <color name="bouncer_password_focus_color">@*android:color/system_secondary_dark</color>


    <!-- Accessibility floating menu -->
    <color name="accessibility_floating_menu_background">#B3000000</color> <!-- 70% -->
+2 −0
Original line number Diff line number Diff line
@@ -56,6 +56,8 @@
    <color name="kg_user_switcher_restricted_avatar_icon_color">@color/GM2_grey_600</color>
    <!-- Color of background circle of user avatars in keyguard user switcher -->
    <color name="user_avatar_color_bg">?android:attr/colorBackgroundFloating</color>
    <!-- Color of border for keyguard password input when focused -->
    <color name="bouncer_password_focus_color">@*android:color/system_secondary_light</color>

    <!-- Icon color for user avatars in user switcher quick settings -->
    <color name="qs_user_switcher_avatar_icon_color">#3C4043</color>