Update new consent screen for fingerprint
- Move top description into subtitle for landscape mode - Update the button text Bug: 177591560 Test: robotest and visual verified 1) Settings -> Security -> Fingerprint 2) Rotate the device and check if the description is on the right side Change-Id: Ie20597fce48f73aa83c5d637682db1860c384a7a
This commit is contained in:
@@ -57,6 +57,8 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
setDescriptionText(R.string.security_settings_fingerprint_enroll_introduction_message);
|
||||
|
||||
mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class);
|
||||
mFooterBarMixin.setSecondaryButton(
|
||||
new FooterButton.Builder(this)
|
||||
@@ -69,7 +71,7 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
|
||||
mFooterBarMixin.setPrimaryButton(
|
||||
new FooterButton.Builder(this)
|
||||
.setText(R.string.wizard_next)
|
||||
.setText(R.string.security_settings_fingerprint_enroll_introduction_agree)
|
||||
.setListener(this::onNextButtonClick)
|
||||
.setButtonType(FooterButton.ButtonType.NEXT)
|
||||
.setTheme(R.style.SudGlifButton_Primary)
|
||||
@@ -78,7 +80,7 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
}
|
||||
|
||||
int getNegativeButtonTextId() {
|
||||
return R.string.security_settings_fingerprint_enroll_introduction_no_thanks;
|
||||
return R.string.security_settings_fingerprint_enroll_introduction_skip;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user