summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AppsCustomizePagedView.java
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-01-24 21:50:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-24 21:50:23 +0000
commit892d023c548a5e49b67b4c81ff1e3e9d02004e6e (patch)
tree32f05aa0f8785914d6bdf7f346d0ed05f6ad3ec6 /src/com/android/launcher2/AppsCustomizePagedView.java
parenta0d39c9da94bfd21227e3fca1065ccaa782962af (diff)
parentcc11f742586b57c576026b7756a46209fe793ea1 (diff)
downloadandroid_packages_apps_Trebuchet-892d023c548a5e49b67b4c81ff1e3e9d02004e6e.tar.gz
android_packages_apps_Trebuchet-892d023c548a5e49b67b4c81ff1e3e9d02004e6e.tar.bz2
android_packages_apps_Trebuchet-892d023c548a5e49b67b4c81ff1e3e9d02004e6e.zip
Merge "Add first RTL support to Launcher"
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizePagedView.java')
-rw-r--r--src/com/android/launcher2/AppsCustomizePagedView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java
index e36eee29a..1817c824f 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -1451,11 +1451,11 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
int ix = i % mWidgetCountX;
int iy = i / mWidgetCountX;
GridLayout.LayoutParams lp = new GridLayout.LayoutParams(
- GridLayout.spec(iy, GridLayout.LEFT),
+ GridLayout.spec(iy, GridLayout.START),
GridLayout.spec(ix, GridLayout.TOP));
lp.width = cellWidth;
lp.height = cellHeight;
- lp.setGravity(Gravity.TOP | Gravity.LEFT);
+ lp.setGravity(Gravity.TOP | Gravity.START);
if (ix > 0) lp.leftMargin = mWidgetWidthGap;
if (iy > 0) lp.topMargin = mWidgetHeightGap;
layout.addView(widget, lp);