diff --git a/res/drawable-hdpi/all_apps_button_focused.png b/res/drawable-hdpi/all_apps_button_focused.png
new file mode 100644
index 0000000000..5860c703fc
Binary files /dev/null and b/res/drawable-hdpi/all_apps_button_focused.png differ
diff --git a/res/drawable-hdpi/all_apps_button_normal.png b/res/drawable-hdpi/all_apps_button_normal.png
index c29d3d7824..3ebdbb493c 100644
Binary files a/res/drawable-hdpi/all_apps_button_normal.png and b/res/drawable-hdpi/all_apps_button_normal.png differ
diff --git a/res/drawable-hdpi/all_apps_button_pressed.png b/res/drawable-hdpi/all_apps_button_pressed.png
index 4c64d692d3..b8bb7a8db0 100644
Binary files a/res/drawable-hdpi/all_apps_button_pressed.png and b/res/drawable-hdpi/all_apps_button_pressed.png differ
diff --git a/res/drawable-hdpi/home_button_focused.png b/res/drawable-hdpi/home_button_focused.png
index 392bc6685f..08b1fcbc82 100644
Binary files a/res/drawable-hdpi/home_button_focused.png and b/res/drawable-hdpi/home_button_focused.png differ
diff --git a/res/drawable-hdpi/home_button_normal.png b/res/drawable-hdpi/home_button_normal.png
index 40fbbfd8a0..4afcce8d29 100644
Binary files a/res/drawable-hdpi/home_button_normal.png and b/res/drawable-hdpi/home_button_normal.png differ
diff --git a/res/drawable-hdpi/home_button_pressed.png b/res/drawable-hdpi/home_button_pressed.png
index 392bc6685f..aa917329df 100644
Binary files a/res/drawable-hdpi/home_button_pressed.png and b/res/drawable-hdpi/home_button_pressed.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_focus.png b/res/drawable-hdpi/ic_home_arrows_1_focus.png
new file mode 100644
index 0000000000..4574682c6a
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_focus.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_focus_right.png b/res/drawable-hdpi/ic_home_arrows_1_focus_right.png
new file mode 100644
index 0000000000..454afceac7
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_focus_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_normal.png b/res/drawable-hdpi/ic_home_arrows_1_normal.png
new file mode 100644
index 0000000000..88ce15fb99
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_normal.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_normal_right.png b/res/drawable-hdpi/ic_home_arrows_1_normal_right.png
new file mode 100644
index 0000000000..dd39d9b3ff
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_normal_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_press.png b/res/drawable-hdpi/ic_home_arrows_1_press.png
new file mode 100644
index 0000000000..93e0ea5449
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_press.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_1_press_right.png b/res/drawable-hdpi/ic_home_arrows_1_press_right.png
new file mode 100644
index 0000000000..be141bcc19
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_1_press_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_focus.png b/res/drawable-hdpi/ic_home_arrows_2_focus.png
new file mode 100644
index 0000000000..cbcaf40c77
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_focus.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_focus_right.png b/res/drawable-hdpi/ic_home_arrows_2_focus_right.png
new file mode 100644
index 0000000000..0f50482038
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_focus_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_normal.png b/res/drawable-hdpi/ic_home_arrows_2_normal.png
new file mode 100644
index 0000000000..9337c1cfc0
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_normal.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_normal_right.png b/res/drawable-hdpi/ic_home_arrows_2_normal_right.png
new file mode 100644
index 0000000000..646437fe29
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_normal_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_press.png b/res/drawable-hdpi/ic_home_arrows_2_press.png
new file mode 100644
index 0000000000..e9daab28bc
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_press.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_2_press_right.png b/res/drawable-hdpi/ic_home_arrows_2_press_right.png
new file mode 100644
index 0000000000..8565fc8013
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_2_press_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_focus.png b/res/drawable-hdpi/ic_home_arrows_3_focus.png
new file mode 100644
index 0000000000..45b26bc611
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_focus.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_focus_right.png b/res/drawable-hdpi/ic_home_arrows_3_focus_right.png
new file mode 100644
index 0000000000..1c045fecdc
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_focus_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_normal.png b/res/drawable-hdpi/ic_home_arrows_3_normal.png
new file mode 100644
index 0000000000..56e4978b85
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_normal.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_normal_right.png b/res/drawable-hdpi/ic_home_arrows_3_normal_right.png
new file mode 100644
index 0000000000..ef9114be17
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_normal_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_press.png b/res/drawable-hdpi/ic_home_arrows_3_press.png
new file mode 100644
index 0000000000..9e9c6cb7e1
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_press.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_3_press_right.png b/res/drawable-hdpi/ic_home_arrows_3_press_right.png
new file mode 100644
index 0000000000..f3ac1d2007
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_3_press_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_focus.png b/res/drawable-hdpi/ic_home_arrows_4_focus.png
new file mode 100644
index 0000000000..b7e4980411
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_focus.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_focus_right.png b/res/drawable-hdpi/ic_home_arrows_4_focus_right.png
new file mode 100644
index 0000000000..7f4857e0eb
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_focus_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_normal.png b/res/drawable-hdpi/ic_home_arrows_4_normal.png
new file mode 100644
index 0000000000..9cdf519388
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_normal.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_normal_right.png b/res/drawable-hdpi/ic_home_arrows_4_normal_right.png
new file mode 100644
index 0000000000..de67f175d8
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_normal_right.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_press.png b/res/drawable-hdpi/ic_home_arrows_4_press.png
new file mode 100644
index 0000000000..3ff701d331
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_press.png differ
diff --git a/res/drawable-hdpi/ic_home_arrows_4_press_right.png b/res/drawable-hdpi/ic_home_arrows_4_press_right.png
new file mode 100644
index 0000000000..33fcc7b8f7
Binary files /dev/null and b/res/drawable-hdpi/ic_home_arrows_4_press_right.png differ
diff --git a/res/drawable-hdpi/trashcan.png b/res/drawable-hdpi/trashcan.png
index 8d3d8e413a..712fc6ff51 100644
Binary files a/res/drawable-hdpi/trashcan.png and b/res/drawable-hdpi/trashcan.png differ
diff --git a/res/drawable-hdpi/trashcan_hover.png b/res/drawable-hdpi/trashcan_hover.png
index 59f2741d3b..9d7131e1f5 100644
Binary files a/res/drawable-hdpi/trashcan_hover.png and b/res/drawable-hdpi/trashcan_hover.png differ
diff --git a/res/drawable/all_apps_button.xml b/res/drawable/all_apps_button.xml
index 985bdff3fa..9f6b8ac016 100644
--- a/res/drawable/all_apps_button.xml
+++ b/res/drawable/all_apps_button.xml
@@ -16,7 +16,7 @@
-
+
diff --git a/res/drawable/home_arrows_left.xml b/res/drawable/home_arrows_left.xml
new file mode 100644
index 0000000000..82df25898f
--- /dev/null
+++ b/res/drawable/home_arrows_left.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_left_1.xml b/res/drawable/home_arrows_left_1.xml
new file mode 100644
index 0000000000..f61f39ea52
--- /dev/null
+++ b/res/drawable/home_arrows_left_1.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_left_2.xml b/res/drawable/home_arrows_left_2.xml
new file mode 100644
index 0000000000..888a2589e8
--- /dev/null
+++ b/res/drawable/home_arrows_left_2.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_left_3.xml b/res/drawable/home_arrows_left_3.xml
new file mode 100644
index 0000000000..4dbdf15dd5
--- /dev/null
+++ b/res/drawable/home_arrows_left_3.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_left_4.xml b/res/drawable/home_arrows_left_4.xml
new file mode 100644
index 0000000000..31b381d02e
--- /dev/null
+++ b/res/drawable/home_arrows_left_4.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_right.xml b/res/drawable/home_arrows_right.xml
new file mode 100644
index 0000000000..8ab0dec9d3
--- /dev/null
+++ b/res/drawable/home_arrows_right.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_right_1.xml b/res/drawable/home_arrows_right_1.xml
new file mode 100644
index 0000000000..f49b760f3d
--- /dev/null
+++ b/res/drawable/home_arrows_right_1.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_right_2.xml b/res/drawable/home_arrows_right_2.xml
new file mode 100644
index 0000000000..17318a3a68
--- /dev/null
+++ b/res/drawable/home_arrows_right_2.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_right_3.xml b/res/drawable/home_arrows_right_3.xml
new file mode 100644
index 0000000000..375f8e39af
--- /dev/null
+++ b/res/drawable/home_arrows_right_3.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/drawable/home_arrows_right_4.xml b/res/drawable/home_arrows_right_4.xml
new file mode 100644
index 0000000000..06627c6d50
--- /dev/null
+++ b/res/drawable/home_arrows_right_4.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index d3069a178e..e5fb6fb4b0 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -40,8 +40,6 @@
android:id="@+id/workspace"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:scrollbars="horizontal"
- android:fadeScrollbars="true"
launcher:defaultScreen="2">
@@ -52,9 +50,37 @@
+
+
+
+
toScreen) {
- int temp = fromScreen;
fromScreen = toScreen;
toScreen = fromScreen;
}
@@ -805,7 +801,6 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
toScreen = Math.min(toScreen, count - 1);
for (int i = fromScreen; i <= toScreen; i++) {
- // Log.d("TAG", "enablingChildrenCache: " + i);
final CellLayout layout = (CellLayout) getChildAt(i);
layout.setChildrenDrawnWithCacheEnabled(true);
layout.setChildrenDrawingCacheEnabled(true);
@@ -1392,6 +1387,13 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
getChildAt(mDefaultScreen).requestFocus();
}
+ void setIndicators(Drawable previous, Drawable next) {
+ mPreviousIndicator = previous;
+ mNextIndicator = next;
+ previous.setLevel(mCurrentScreen);
+ next.setLevel(mCurrentScreen);
+ }
+
public static class SavedState extends BaseSavedState {
int currentScreen = -1;