summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-03-05 23:45:21 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-05 23:46:33 +0000
commitfd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3 (patch)
tree227fd5bc0e889db24ea17f7220cd432dcbdd6edf
parent82e861d71aaefcdec47d78bf564d755d2910ecb8 (diff)
parentd81992b6e70e05a3c208e02d019e606b7cb8a0b7 (diff)
downloadandroid_packages_apps_Trebuchet-fd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3.tar.gz
android_packages_apps_Trebuchet-fd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3.tar.bz2
android_packages_apps_Trebuchet-fd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3.zip
Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby
-rw-r--r--src/com/android/launcher3/DeviceProfile.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index b97f0f2f7..7d02e10b5 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -766,8 +766,7 @@ public class DeviceProfile {
lp.gravity = Gravity.BOTTOM;
lp.width = LayoutParams.MATCH_PARENT;
lp.height = hotseatBarHeightPx;
- hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0,
- 2 * edgeMarginPx, 0);
+ hotseat.setPadding(2 * edgeMarginPx, 0, 2 * edgeMarginPx, 0);
}
hotseat.setLayoutParams(lp);