Merge "KgStatusArea width should match parent" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7cb084a470
@@ -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