Merge "Remove Global Actions Panel top margin."
This commit is contained in:
committed by
Android (Google) Code Review
commit
0d707070c4
@@ -872,9 +872,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>
|
||||
|
||||
@@ -1557,8 +1557,6 @@ public 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