commit | ab37bce36a7bc54cfcd634df95ca08e7e6143230 | [log] [tgz] |
---|---|---|
author | Adam Cohen <adamcohen@google.com> | Fri Sep 27 22:46:42 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Sep 27 22:46:42 2013 +0000 |
tree | a98dd84f9f7125403aebf7ac8c1688b5c5d9fc2e | |
parent | c88dceb0b567ab96418e73cf2f6b197ba2646cb3 [diff] | |
parent | f356746e1c9fff1d79d6ba404ba49166c49d1d04 [diff] |
Merge changes If379cc4b,I1c6ccb01 into jb-ub-now-indigo-rose * changes: Fixing up all apps button pressed state: Fixing widget resize handles in RTL
diff --git a/res/drawable-hdpi/ic_allapps.png b/res/drawable-hdpi/ic_allapps.png index 073bb30..f55aabf 100644 --- a/res/drawable-hdpi/ic_allapps.png +++ b/res/drawable-hdpi/ic_allapps.png Binary files differ
diff --git a/res/drawable-hdpi/ic_allapps_off.png b/res/drawable-hdpi/ic_allapps_off.png deleted file mode 100644 index bbc4d7d..0000000 --- a/res/drawable-hdpi/ic_allapps_off.png +++ /dev/null Binary files differ
diff --git a/res/drawable-hdpi/ic_allapps_pressed.png b/res/drawable-hdpi/ic_allapps_pressed.png index a43b9e1..bbc4d7d 100644 --- a/res/drawable-hdpi/ic_allapps_pressed.png +++ b/res/drawable-hdpi/ic_allapps_pressed.png Binary files differ
diff --git a/res/drawable-mdpi/ic_allapps.png b/res/drawable-mdpi/ic_allapps.png index 8c5efd7..d95f1bf 100644 --- a/res/drawable-mdpi/ic_allapps.png +++ b/res/drawable-mdpi/ic_allapps.png Binary files differ
diff --git a/res/drawable-mdpi/ic_allapps_off.png b/res/drawable-mdpi/ic_allapps_off.png deleted file mode 100644 index e24b9d7..0000000 --- a/res/drawable-mdpi/ic_allapps_off.png +++ /dev/null Binary files differ
diff --git a/res/drawable-mdpi/ic_allapps_pressed.png b/res/drawable-mdpi/ic_allapps_pressed.png index 18375ab..e24b9d7 100644 --- a/res/drawable-mdpi/ic_allapps_pressed.png +++ b/res/drawable-mdpi/ic_allapps_pressed.png Binary files differ
diff --git a/res/drawable-xhdpi/ic_allapps.png b/res/drawable-xhdpi/ic_allapps.png index 21c4252..0e4316c 100644 --- a/res/drawable-xhdpi/ic_allapps.png +++ b/res/drawable-xhdpi/ic_allapps.png Binary files differ
diff --git a/res/drawable-xhdpi/ic_allapps_off.png b/res/drawable-xhdpi/ic_allapps_off.png deleted file mode 100644 index 2b13330..0000000 --- a/res/drawable-xhdpi/ic_allapps_off.png +++ /dev/null Binary files differ
diff --git a/res/drawable-xhdpi/ic_allapps_pressed.png b/res/drawable-xhdpi/ic_allapps_pressed.png index 3bbcbce..2b13330 100644 --- a/res/drawable-xhdpi/ic_allapps_pressed.png +++ b/res/drawable-xhdpi/ic_allapps_pressed.png Binary files differ
diff --git a/res/drawable-xxhdpi/ic_allapps.png b/res/drawable-xxhdpi/ic_allapps.png index 021832a..9d5d80c 100644 --- a/res/drawable-xxhdpi/ic_allapps.png +++ b/res/drawable-xxhdpi/ic_allapps.png Binary files differ
diff --git a/res/drawable-xxhdpi/ic_allapps_off.png b/res/drawable-xxhdpi/ic_allapps_off.png deleted file mode 100644 index b6a34a8..0000000 --- a/res/drawable-xxhdpi/ic_allapps_off.png +++ /dev/null Binary files differ
diff --git a/res/drawable-xxhdpi/ic_allapps_pressed.png b/res/drawable-xxhdpi/ic_allapps_pressed.png index 9c7b636..b6a34a8 100644 --- a/res/drawable-xxhdpi/ic_allapps_pressed.png +++ b/res/drawable-xxhdpi/ic_allapps_pressed.png Binary files differ
diff --git a/src/com/android/launcher3/AppWidgetResizeFrame.java b/src/com/android/launcher3/AppWidgetResizeFrame.java index 02958d0..fcb04ea 100644 --- a/src/com/android/launcher3/AppWidgetResizeFrame.java +++ b/src/com/android/launcher3/AppWidgetResizeFrame.java
@@ -95,13 +95,13 @@ mLeftHandle = new ImageView(context); mLeftHandle.setImageResource(R.drawable.widget_resize_handle_left); lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, - Gravity.START | Gravity.CENTER_VERTICAL); + Gravity.LEFT | Gravity.CENTER_VERTICAL); addView(mLeftHandle, lp); mRightHandle = new ImageView(context); mRightHandle.setImageResource(R.drawable.widget_resize_handle_right); lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, - Gravity.END | Gravity.CENTER_VERTICAL); + Gravity.RIGHT | Gravity.CENTER_VERTICAL); addView(mRightHandle, lp); mTopHandle = new ImageView(context);