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

Commit df49c809 authored by Austin Delgado's avatar Austin Delgado
Browse files

Update BP negative button style

Fixes: 330911062
Test: Verified manually
Flag: ACONFIG constraint_bp NEXTFOOD
Change-Id: I22687edde0c12eabb158992bdd3ad924f3159b6e
parent 2786eb33
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    <!-- Negative Button, reserved for app -->
    <Button
        android:id="@+id/button_negative"
        style="@style/Widget.Dialog.Button.BorderButton"
        style="@style/AuthCredentialNegativeButtonStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
@@ -37,7 +37,7 @@
    <!-- Cancel Button, replaces negative button when biometric is accepted -->
    <Button
        android:id="@+id/button_cancel"
        style="@style/Widget.Dialog.Button.BorderButton"
        style="@style/AuthCredentialNegativeButtonStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
@@ -50,7 +50,7 @@
    <!-- "Use Credential" Button, replaces if device credential is allowed -->
    <Button
        android:id="@+id/button_use_credential"
        style="@style/Widget.Dialog.Button.BorderButton"
        style="@style/AuthCredentialNegativeButtonStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
+6 −0
Original line number Diff line number Diff line
@@ -375,6 +375,12 @@
        <item name="android:textColor">?androidprv:attr/materialColorPrimary</item>
    </style>

    <style name="AuthCredentialNegativeButtonStyle" parent="TextAppearance.Material3.LabelLarge">
        <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item>
        <item name="android:background">@color/transparent</item>
        <item name="android:textColor">?androidprv:attr/materialColorPrimary</item>
    </style>

    <style name="DeviceManagementDialogTitle">
        <item name="android:gravity">center</item>
        <item name="android:textAppearance">@style/TextAppearance.Dialog.Title</item>