Tweak the layout for Pattern/PIN/Password enrollment
- Fix the problem with invisible title - Fix the wrong layout for landscape mode - Apply color extraction Fix: 185076320 Fix: 182339941 Fix: 182440016 Fix: 184715547 Fix: 183710293 Test: robotests and visual verified Change-Id: Ib8e2a015bc52fcac2d285777972177e53bde7489
This commit is contained in:
@@ -30,6 +30,8 @@ import androidx.fragment.app.Fragment;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.SetupRedactionInterstitial;
|
||||
|
||||
import com.google.android.setupdesign.GlifLayout;
|
||||
|
||||
/**
|
||||
* Setup Wizard's version of ChooseLockPattern screen. It inherits the logic and basic structure
|
||||
* from ChooseLockPattern class, and should remain similar to that behaviorally. This class should
|
||||
@@ -142,10 +144,11 @@ public class SetupChooseLockPattern extends ChooseLockPattern {
|
||||
|
||||
// Show generic pattern message when pattern lock screen launch in Setup wizard flow
|
||||
// before fingerprint and face setup.
|
||||
final GlifLayout layout = getActivity().findViewById(R.id.setup_wizard_layout);
|
||||
if (stage.message == ID_EMPTY_MESSAGE) {
|
||||
mMessageText.setText("");
|
||||
layout.setDescriptionText("");
|
||||
} else {
|
||||
mMessageText.setText(stage.message);
|
||||
layout.setDescriptionText(stage.message);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user