Fix RTL issue on fingerprint setup screens in landscape mode
1. Add an RTL layout dimension for enrolling page. 2. Handling device rotation landscape 270/90 degrees with layout dimension in LTR or RTL language. Bug: 237104754 Test: manually verified on Settings > Security > Face & Fingerprint Unlock > Fingerprint Unlock > Touch & Hold fingerprint sensor page Test: make RunSettingsRoboTests ROBOTEST_FILTER= "com.android.settings.biometrics.fingerprint .FingerprintEnrollEnrollingTest" Change-Id: If4770d885d97c6bf4cfebefdf9cfa0b4ee0b995b
This commit is contained in:
@@ -33,11 +33,15 @@
|
||||
<!-- Both texts are kept as separate text views so it doesn't jump around in portrait.
|
||||
See layouts/fingerprint_enroll_enrolling_base.xml. -->
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_container"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="?attr/sudMarginStart"
|
||||
android:layout_marginEnd="@dimen/enroll_margin_end"
|
||||
android:layout_marginBottom="@dimen/sud_content_frame_padding_bottom"
|
||||
android:paddingStart="@dimen/enroll_padding_start"
|
||||
android:paddingEnd="@dimen/enroll_padding_end"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="vertical">
|
||||
Reference in New Issue
Block a user