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

Commit 22c807a6 authored by Hao Dong's avatar Hao Dong
Browse files

Fix biometric prompt style.

1. Update font family to the config_bodyFontFamily
2. Update credential view panel color and text color
3. Rename AuthCredential* styles to AuthNonBioCredential

Bug: 233752647
Bug: 335199602
Test: manual test
Flag: ACONFIG com.android.systemui.constraint_bp TRUNKFOOD
Change-Id: Ia2152cec5a70c106e673e614c055a2f048cfc79d
parent 8b7f1ef4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@

    <Button
        android:id="@+id/emergencyCallButton"
        style="@style/AuthCredentialEmergencyButtonStyle"
        style="@style/AuthNonBioCredentialEmergencyButtonStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="gone"
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@

        <Button
            android:id="@+id/emergencyCallButton"
            style="@style/AuthCredentialEmergencyButtonStyle"
            style="@style/AuthNonBioCredentialEmergencyButtonStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="35dp"
+1 −4
Original line number Diff line number Diff line
@@ -19,12 +19,9 @@ android:layout_height="match_parent">

    <View
        android:id="@+id/panel"
        style="@style/AuthCredentialPanelStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="?androidprv:attr/materialColorSurfaceBright"
        android:clickable="true"
        android:clipToOutline="true"
        android:importantForAccessibility="no"
        android:paddingHorizontal="16dp"
        android:paddingVertical="16dp"
        android:visibility="visible"
+1 −5
Original line number Diff line number Diff line
@@ -19,13 +19,9 @@

    <View
        android:id="@+id/panel"
        style="@style/AuthCredentialPanelStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="?androidprv:attr/materialColorSurfaceBright"
        android:clickable="true"
        android:clipToOutline="true"
        android:importantForAccessibility="no"
        android:visibility="visible"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/rightGuideline"
        app:layout_constraintStart_toStartOf="@+id/leftGuideline"
+2 −1
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  -->

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:id="@+id/layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
@@ -29,7 +30,7 @@
        android:id="@+id/panel"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?android:attr/colorBackgroundFloating"
        android:background="?androidprv:attr/materialColorSurfaceContainer"
        android:elevation="@dimen/biometric_dialog_elevation"/>

    <ScrollView
Loading