Remove Global Actions Panel top margin.
Test: manual Change-Id: Iae38ec90877e35d4c6998e9e49b14acf8be0e356
This commit is contained in:
@@ -856,9 +856,6 @@
|
||||
<!-- Global actions grid layout -->
|
||||
<dimen name="global_actions_grid_side_margin">4dp</dimen>
|
||||
|
||||
<!-- Global actions panel -->
|
||||
<dimen name="global_actions_panel_top_margin">85dp</dimen>
|
||||
|
||||
<!-- The maximum offset in either direction that elements are moved horizontally to prevent
|
||||
burn-in on AOD. -->
|
||||
<dimen name="burn_in_prevention_offset_x">8dp</dimen>
|
||||
|
||||
@@ -1558,8 +1558,6 @@ class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
||||
new FrameLayout.LayoutParams(
|
||||
FrameLayout.LayoutParams.MATCH_PARENT,
|
||||
FrameLayout.LayoutParams.WRAP_CONTENT);
|
||||
panelParams.topMargin = mContext.getResources().getDimensionPixelSize(
|
||||
com.android.systemui.R.dimen.global_actions_panel_top_margin);
|
||||
panelContainer.addView(panelView, panelParams);
|
||||
return panelContainer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user