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

Commit 7c5db1eb authored by Weng Su's avatar Weng Su
Browse files

Refine Button style in Wi-Fi config settings

- Use MaterialButton design

Bug: 404458450
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I3f076edd69f5e3db6951fefb51e324013ea981f1
parent 1bd55059
Loading
Loading
Loading
Loading
+26 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@

<androidx.core.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@style/Theme.Network"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
        <LinearLayout
@@ -25,6 +26,30 @@
            android:orientation="vertical">
                <include layout="@layout/wifi_network_config"/>

                <include layout="@*android:layout/alert_dialog_button_bar_material"/>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:paddingTop="4dp"
                    android:paddingBottom="4dp"
                    android:paddingEnd="24dp"
                    android:gravity="end">

                        <com.google.android.material.button.MaterialButton
                            android:id="@android:id/button2"
                            style="?attr/materialButtonOutlinedStyle"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"/>

                        <Space
                            android:layout_width="8dp"
                            android:layout_height="wrap_content"/>

                        <com.google.android.material.button.MaterialButton
                            android:id="@android:id/button1"
                            style="@style/Widget.Material3.Button"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"/>
                </LinearLayout>
        </LinearLayout>
</androidx.core.widget.NestedScrollView>