Merge "Fix gravity of QQS tile layout" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
652a169532
@@ -355,7 +355,6 @@ public class QuickQSPanel extends QSPanel {
|
|||||||
setClipToPadding(false);
|
setClipToPadding(false);
|
||||||
LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,
|
LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,
|
||||||
LayoutParams.WRAP_CONTENT);
|
LayoutParams.WRAP_CONTENT);
|
||||||
lp.gravity = Gravity.CENTER_HORIZONTAL;
|
|
||||||
setLayoutParams(lp);
|
setLayoutParams(lp);
|
||||||
setMaxColumns(4);
|
setMaxColumns(4);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user