[automerge] DO NOT MERGE Allow pinEntry field to be outside pin_container 2p: 2bbaf5d099
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16771632 Bug: 217401027 Change-Id: Id26b5149a13c413c8b510f7fa5a29eb045e5deaf
This commit is contained in:
@@ -112,13 +112,13 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
|
|||||||
|
|
||||||
// Password entry area
|
// Password entry area
|
||||||
int passwordHeight = res.getDimensionPixelSize(R.dimen.keyguard_password_height);
|
int passwordHeight = res.getDimensionPixelSize(R.dimen.keyguard_password_height);
|
||||||
View pinEntry = mContainer.findViewById(R.id.pinEntry);
|
View pinEntry = findViewById(getPasswordTextViewId());
|
||||||
ViewGroup.LayoutParams lp = pinEntry.getLayoutParams();
|
ViewGroup.LayoutParams lp = pinEntry.getLayoutParams();
|
||||||
lp.height = passwordHeight;
|
lp.height = passwordHeight;
|
||||||
pinEntry.setLayoutParams(lp);
|
pinEntry.setLayoutParams(lp);
|
||||||
|
|
||||||
// Below row0
|
// Below row0
|
||||||
View row0 = mContainer.findViewById(R.id.row0);
|
View row0 = findViewById(R.id.row0);
|
||||||
row0.setPadding(0, 0, 0, verticalMargin);
|
row0.setPadding(0, 0, 0, verticalMargin);
|
||||||
|
|
||||||
// Above the emergency contact area
|
// Above the emergency contact area
|
||||||
|
|||||||
Reference in New Issue
Block a user