summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-04-06 18:39:22 +0000
committerSunny Goyal <sunnygoyal@google.com>2015-04-06 18:39:22 +0000
commite0bca386247024728b1e71e9ae530fac7e5b3171 (patch)
treeb74facc7ed8c2666ae3fe7debe8843f9f9ea65ad /src
parentd81992b6e70e05a3c208e02d019e606b7cb8a0b7 (diff)
downloadandroid_packages_apps_Trebuchet-e0bca386247024728b1e71e9ae530fac7e5b3171.tar.gz
android_packages_apps_Trebuchet-e0bca386247024728b1e71e9ae530fac7e5b3171.tar.bz2
android_packages_apps_Trebuchet-e0bca386247024728b1e71e9ae530fac7e5b3171.zip
Revert "Setting hotseat padding to the container for symmetry"
This reverts commit d81992b6e70e05a3c208e02d019e606b7cb8a0b7. Bug:20087585 Change-Id: I4949ec9e0e27afa218597b943001e7240cfdc548
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index 7d02e10b5..b97f0f2f7 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -766,7 +766,8 @@ public class DeviceProfile {
lp.gravity = Gravity.BOTTOM;
lp.width = LayoutParams.MATCH_PARENT;
lp.height = hotseatBarHeightPx;
- hotseat.setPadding(2 * edgeMarginPx, 0, 2 * edgeMarginPx, 0);
+ hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0,
+ 2 * edgeMarginPx, 0);
}
hotseat.setLayoutParams(lp);