Merge "KgStatusArea width should match parent" into sc-dev am: 7cb084a470
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13418345 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib19d99b406c667252e7a5d77da130d81f36c0cb2
This commit is contained in:
@@ -192,7 +192,7 @@ public class KeyguardClockSwitch extends RelativeLayout {
|
|||||||
statusAreaLP.removeRule(RelativeLayout.ALIGN_PARENT_START);
|
statusAreaLP.removeRule(RelativeLayout.ALIGN_PARENT_START);
|
||||||
statusAreaLP.removeRule(RelativeLayout.START_OF);
|
statusAreaLP.removeRule(RelativeLayout.START_OF);
|
||||||
statusAreaLP.addRule(RelativeLayout.BELOW, R.id.clock_view);
|
statusAreaLP.addRule(RelativeLayout.BELOW, R.id.clock_view);
|
||||||
statusAreaLP.width = ViewGroup.LayoutParams.WRAP_CONTENT;
|
statusAreaLP.width = ViewGroup.LayoutParams.MATCH_PARENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
requestLayout();
|
requestLayout();
|
||||||
|
|||||||
Reference in New Issue
Block a user