KgStatusArea width should match parent
Fixes: 178569458 Test: manual Change-Id: Ic64a2fc40f0b07298d5478a83b5a50f8491f15f1
This commit is contained in:
@@ -192,7 +192,7 @@ public class KeyguardClockSwitch extends RelativeLayout {
|
||||
statusAreaLP.removeRule(RelativeLayout.ALIGN_PARENT_START);
|
||||
statusAreaLP.removeRule(RelativeLayout.START_OF);
|
||||
statusAreaLP.addRule(RelativeLayout.BELOW, R.id.clock_view);
|
||||
statusAreaLP.width = ViewGroup.LayoutParams.WRAP_CONTENT;
|
||||
statusAreaLP.width = ViewGroup.LayoutParams.MATCH_PARENT;
|
||||
}
|
||||
|
||||
requestLayout();
|
||||
|
||||
Reference in New Issue
Block a user