Tweaking styles for AllApps and widgets spaces. (Bug 10843502)

- Fixing various issues with Search bar showing when it shouldn't be.

Change-Id: I2a553ad93e3422666a883b90a1ff97625bf05831
This commit is contained in:
Winson Chung
2013-09-23 16:53:31 -07:00
parent 1e4e6ddb38
commit 2d75f125f4
10 changed files with 72 additions and 98 deletions

View File

@@ -430,7 +430,7 @@ class DeviceProfile {
lp.gravity = Gravity.BOTTOM;
lp.width = LayoutParams.MATCH_PARENT;
lp.height = hotseatBarHeightPx;
hotseat.setPadding(2 * edgeMarginPx, 0,
hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0,
2 * edgeMarginPx, 0);
}
hotseat.setLayoutParams(lp);