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

Commit 8451244a authored by lbill's avatar lbill
Browse files

Customize the pattern view with dimen/biometric_auth_pattern_view_size

The portrait config with the "@dimen/biometric_auth_pattern_view_size"
However, the layout in land didn't config correctly

Flag: NA
Bug: 330126728
Test: Manual setup pattern view, and trigger confirm lock on large
      screen device in landscape mode, the pattern size should be
      limited.
Change-Id: I5dbb5534f2674064742ed45d6ab817cc3970b412
parent 91b9b1f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@

                <com.android.internal.widget.LockPatternView
                    android:id="@+id/lockPattern"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_width="@dimen/biometric_auth_pattern_view_size"
                    android:layout_height="@dimen/biometric_auth_pattern_view_size"
                    android:layout_gravity="center" />

            </com.google.android.setupdesign.view.FillContentLayout>
+2 −2
Original line number Diff line number Diff line
@@ -45,8 +45,8 @@

                <com.android.internal.widget.LockPatternView
                    android:id="@+id/lockPattern"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_width="@dimen/biometric_auth_pattern_view_size"
                    android:layout_height="@dimen/biometric_auth_pattern_view_size"
                    android:layout_gravity="center" />

            </com.google.android.setupdesign.view.FillContentLayout>