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

Commit 81d8395b authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Fix BiometricPrompt for smaller screens

Fixes: 128682073

Test: Dialog is scrollable now
Test: Change display/font size
Change-Id: Ie3e3527e3ceef7a78cc06dd3d451e3172d056c49
parent 925701f4
Loading
Loading
Loading
Loading
+145 −139
Original line number Diff line number Diff line
@@ -39,13 +39,17 @@
            android:layout_height="0dp"
            android:layout_weight="1" />

        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal">

            <!-- This is not a Space since Spaces cannot be clicked. The width of this changes depending
             on horizontal/portrait orientation -->
                <!-- This is not a Space since Spaces cannot be clicked. The width of this changes
                depending on horizontal/portrait orientation -->
                <View
                    android:id="@+id/left_space"
                    android:layout_weight="1"
@@ -176,8 +180,8 @@
                        </LinearLayout>
                    </LinearLayout>

            <!-- This is not a Space since Spaces cannot be clicked. The width of this changes depending
             on horizontal/portrait orientation -->
                <!-- This is not a Space since Spaces cannot be clicked. The width of this changes
                depending on horizontal/portrait orientation -->
                <View
                    android:id="@+id/right_space"
                    android:layout_weight="1"
@@ -186,6 +190,8 @@

            </LinearLayout>

        </ScrollView>

    </LinearLayout>

</FrameLayout>