summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-03-05 14:00:18 -0800
committerSunny Goyal <sunnygoyal@google.com>2015-03-05 14:00:18 -0800
commitd81992b6e70e05a3c208e02d019e606b7cb8a0b7 (patch)
tree49d031e1165ef3660f03c815eea09c28a0a17208 /src
parent49b39d667d3fa662352fdcc5278db97ab45de7cf (diff)
downloadandroid_packages_apps_Trebuchet-d81992b6e70e05a3c208e02d019e606b7cb8a0b7.tar.gz
android_packages_apps_Trebuchet-d81992b6e70e05a3c208e02d019e606b7cb8a0b7.tar.bz2
android_packages_apps_Trebuchet-d81992b6e70e05a3c208e02d019e606b7cb8a0b7.zip
Setting hotseat padding to the container for symmetry
Change-Id: I953aa4e8d729db88dae29f51af28c6cf01891bd6
Diffstat (limited to 'src')
-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);