Fix 'Do it later' button overlaps with text depending on
landscape direction Set Gliflayout content padding top to 0 to make it more space. Bug: 279792554 Test: manually test with reproduciable steps: 1. Start setup until Fingerprint Unlock 2. Scroll down 3. Accept the introduction 4. Do as instructed 5. Flip the phone 180 degrees Change-Id: I1875691cccfc75062c6d8c9517240569ae0a4261
This commit is contained in:
@@ -263,6 +263,12 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
|
||||
R.layout.udfps_enroll_enrolling, null, false);
|
||||
switch (rotation) {
|
||||
case Surface.ROTATION_90:
|
||||
final View sudContent = layout.findViewById(R.id.sud_layout_content);
|
||||
if (sudContent != null) {
|
||||
sudContent.setPadding(sudContent.getPaddingLeft(), 0,
|
||||
sudContent.getPaddingRight(), sudContent.getPaddingBottom());
|
||||
}
|
||||
|
||||
final LinearLayout layoutContainer = layout.findViewById(
|
||||
R.id.layout_container);
|
||||
final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(
|
||||
|
||||
Reference in New Issue
Block a user