Initial changes for handling configuration changes dynamically

Bug: 71709920
Change-Id: I88cf2229dea28d01c13a5a76d2290e91b07d095e
This commit is contained in:
Sunny Goyal
2018-01-31 15:18:11 -08:00
parent 260fec1b24
commit f8d56fc8a1
13 changed files with 126 additions and 61 deletions

View File

@@ -111,6 +111,7 @@ public class DropTargetBar extends FrameLayout
lp.topMargin += grid.edgeMarginPx;
lp.height = grid.dropTargetBarSizePx;
lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP;
}
setLayoutParams(lp);
for (ButtonDropTarget button : mDropTargets) {