diff --git a/res/drawable-hdpi/all_apps_button_focused.png b/res/drawable-hdpi/all_apps_button_focused.png
deleted file mode 100644
index ace493bb06..0000000000
Binary files a/res/drawable-hdpi/all_apps_button_focused.png and /dev/null differ
diff --git a/res/drawable-hdpi/all_apps_button_normal.png b/res/drawable-hdpi/all_apps_button_normal.png
deleted file mode 100644
index cde455d2d9..0000000000
Binary files a/res/drawable-hdpi/all_apps_button_normal.png and /dev/null differ
diff --git a/res/drawable-hdpi/all_apps_button_pressed.png b/res/drawable-hdpi/all_apps_button_pressed.png
deleted file mode 100644
index d5f9f54615..0000000000
Binary files a/res/drawable-hdpi/all_apps_button_pressed.png and /dev/null differ
diff --git a/res/drawable-hdpi/box_launcher_top_normal.9.png b/res/drawable-hdpi/box_launcher_top_normal.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-hdpi/box_launcher_top_normal.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/box_launcher_top_pressed.9.png b/res/drawable-hdpi/box_launcher_top_pressed.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-hdpi/box_launcher_top_pressed.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/box_launcher_top_selected.9.png b/res/drawable-hdpi/box_launcher_top_selected.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-hdpi/box_launcher_top_selected.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/focused_application_background.9.png b/res/drawable-hdpi/focused_application_background.9.png
deleted file mode 100644
index 7bf37efed5..0000000000
Binary files a/res/drawable-hdpi/focused_application_background.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/home_button_focused.png b/res/drawable-hdpi/home_button_focused.png
deleted file mode 100644
index 08b1fcbc82..0000000000
Binary files a/res/drawable-hdpi/home_button_focused.png and /dev/null differ
diff --git a/res/drawable-hdpi/home_button_normal.png b/res/drawable-hdpi/home_button_normal.png
deleted file mode 100644
index 4afcce8d29..0000000000
Binary files a/res/drawable-hdpi/home_button_normal.png and /dev/null differ
diff --git a/res/drawable-hdpi/home_button_pressed.png b/res/drawable-hdpi/home_button_pressed.png
deleted file mode 100644
index aa917329df..0000000000
Binary files a/res/drawable-hdpi/home_button_pressed.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_bg_center.9.png b/res/drawable-hdpi/hotseat_bg_center.9.png
deleted file mode 100644
index e162970de8..0000000000
Binary files a/res/drawable-hdpi/hotseat_bg_center.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_bg_left.9.png b/res/drawable-hdpi/hotseat_bg_left.9.png
deleted file mode 100644
index 39e079dece..0000000000
Binary files a/res/drawable-hdpi/hotseat_bg_left.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_bg_right.9.png b/res/drawable-hdpi/hotseat_bg_right.9.png
deleted file mode 100644
index 921216bea6..0000000000
Binary files a/res/drawable-hdpi/hotseat_bg_right.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_browser_focused.png b/res/drawable-hdpi/hotseat_browser_focused.png
deleted file mode 100644
index 4ab51dd2db..0000000000
Binary files a/res/drawable-hdpi/hotseat_browser_focused.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_browser_normal.png b/res/drawable-hdpi/hotseat_browser_normal.png
deleted file mode 100644
index 77ae9270a0..0000000000
Binary files a/res/drawable-hdpi/hotseat_browser_normal.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_browser_pressed.png b/res/drawable-hdpi/hotseat_browser_pressed.png
deleted file mode 100644
index cfe963b4ce..0000000000
Binary files a/res/drawable-hdpi/hotseat_browser_pressed.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_phone_focused.png b/res/drawable-hdpi/hotseat_phone_focused.png
deleted file mode 100644
index f81f0a8127..0000000000
Binary files a/res/drawable-hdpi/hotseat_phone_focused.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_phone_normal.png b/res/drawable-hdpi/hotseat_phone_normal.png
deleted file mode 100644
index 391802eb8b..0000000000
Binary files a/res/drawable-hdpi/hotseat_phone_normal.png and /dev/null differ
diff --git a/res/drawable-hdpi/hotseat_phone_pressed.png b/res/drawable-hdpi/hotseat_phone_pressed.png
deleted file mode 100644
index a6c2baf6c1..0000000000
Binary files a/res/drawable-hdpi/hotseat_phone_pressed.png and /dev/null differ
diff --git a/res/drawable-land-hdpi/hotseat_bg_center.9.png b/res/drawable-land-hdpi/hotseat_bg_center.9.png
deleted file mode 100644
index 958b4a4af1..0000000000
Binary files a/res/drawable-land-hdpi/hotseat_bg_center.9.png and /dev/null differ
diff --git a/res/drawable-land-hdpi/hotseat_bg_left.9.png b/res/drawable-land-hdpi/hotseat_bg_left.9.png
deleted file mode 100644
index 9ea8f9d3e5..0000000000
Binary files a/res/drawable-land-hdpi/hotseat_bg_left.9.png and /dev/null differ
diff --git a/res/drawable-land-hdpi/hotseat_bg_right.9.png b/res/drawable-land-hdpi/hotseat_bg_right.9.png
deleted file mode 100644
index ce8f1e2d26..0000000000
Binary files a/res/drawable-land-hdpi/hotseat_bg_right.9.png and /dev/null differ
diff --git a/res/drawable-land-hdpi/hotseat_track_holo.9.png b/res/drawable-land-hdpi/hotseat_track_holo.9.png
new file mode 100644
index 0000000000..165870ea1f
Binary files /dev/null and b/res/drawable-land-hdpi/hotseat_track_holo.9.png differ
diff --git a/res/drawable-land-mdpi/hotseat_bg_center.9.png b/res/drawable-land-mdpi/hotseat_bg_center.9.png
deleted file mode 100644
index 691ab01e06..0000000000
Binary files a/res/drawable-land-mdpi/hotseat_bg_center.9.png and /dev/null differ
diff --git a/res/drawable-land-mdpi/hotseat_bg_left.9.png b/res/drawable-land-mdpi/hotseat_bg_left.9.png
deleted file mode 100644
index bd235f30cb..0000000000
Binary files a/res/drawable-land-mdpi/hotseat_bg_left.9.png and /dev/null differ
diff --git a/res/drawable-land-mdpi/hotseat_bg_right.9.png b/res/drawable-land-mdpi/hotseat_bg_right.9.png
deleted file mode 100644
index 6d87f0de8a..0000000000
Binary files a/res/drawable-land-mdpi/hotseat_bg_right.9.png and /dev/null differ
diff --git a/res/drawable-land-mdpi/hotseat_track_holo.9.png b/res/drawable-land-mdpi/hotseat_track_holo.9.png
new file mode 100644
index 0000000000..82ed81dfd0
Binary files /dev/null and b/res/drawable-land-mdpi/hotseat_track_holo.9.png differ
diff --git a/res/drawable-mdpi/all_apps_button_focused.png b/res/drawable-mdpi/all_apps_button_focused.png
deleted file mode 100644
index dd77f800c4..0000000000
Binary files a/res/drawable-mdpi/all_apps_button_focused.png and /dev/null differ
diff --git a/res/drawable-mdpi/all_apps_button_normal.png b/res/drawable-mdpi/all_apps_button_normal.png
deleted file mode 100644
index 2419f97bef..0000000000
Binary files a/res/drawable-mdpi/all_apps_button_normal.png and /dev/null differ
diff --git a/res/drawable-mdpi/all_apps_button_pressed.png b/res/drawable-mdpi/all_apps_button_pressed.png
deleted file mode 100644
index 3e6c8508e2..0000000000
Binary files a/res/drawable-mdpi/all_apps_button_pressed.png and /dev/null differ
diff --git a/res/drawable-mdpi/box_launcher_top_normal.9.png b/res/drawable-mdpi/box_launcher_top_normal.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-mdpi/box_launcher_top_normal.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/box_launcher_top_pressed.9.png b/res/drawable-mdpi/box_launcher_top_pressed.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-mdpi/box_launcher_top_pressed.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/box_launcher_top_selected.9.png b/res/drawable-mdpi/box_launcher_top_selected.9.png
deleted file mode 100644
index af04b076a2..0000000000
Binary files a/res/drawable-mdpi/box_launcher_top_selected.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/focused_application_background.9.png b/res/drawable-mdpi/focused_application_background.9.png
deleted file mode 100644
index 17ee6ea1b1..0000000000
Binary files a/res/drawable-mdpi/focused_application_background.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/home_button_focused.png b/res/drawable-mdpi/home_button_focused.png
deleted file mode 100644
index 4d62c1bde7..0000000000
Binary files a/res/drawable-mdpi/home_button_focused.png and /dev/null differ
diff --git a/res/drawable-mdpi/home_button_normal.png b/res/drawable-mdpi/home_button_normal.png
deleted file mode 100644
index 37eccc08e1..0000000000
Binary files a/res/drawable-mdpi/home_button_normal.png and /dev/null differ
diff --git a/res/drawable-mdpi/home_button_pressed.png b/res/drawable-mdpi/home_button_pressed.png
deleted file mode 100644
index 4b77d6da48..0000000000
Binary files a/res/drawable-mdpi/home_button_pressed.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_bg_center.9.png b/res/drawable-mdpi/hotseat_bg_center.9.png
deleted file mode 100644
index c846d545ec..0000000000
Binary files a/res/drawable-mdpi/hotseat_bg_center.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_bg_left.9.png b/res/drawable-mdpi/hotseat_bg_left.9.png
deleted file mode 100644
index 92d583f865..0000000000
Binary files a/res/drawable-mdpi/hotseat_bg_left.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_bg_right.9.png b/res/drawable-mdpi/hotseat_bg_right.9.png
deleted file mode 100644
index 5181b00f15..0000000000
Binary files a/res/drawable-mdpi/hotseat_bg_right.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_browser_focused.png b/res/drawable-mdpi/hotseat_browser_focused.png
deleted file mode 100644
index 0ad08787ca..0000000000
Binary files a/res/drawable-mdpi/hotseat_browser_focused.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_browser_normal.png b/res/drawable-mdpi/hotseat_browser_normal.png
deleted file mode 100644
index 52abe8c340..0000000000
Binary files a/res/drawable-mdpi/hotseat_browser_normal.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_browser_pressed.png b/res/drawable-mdpi/hotseat_browser_pressed.png
deleted file mode 100644
index e1d35d194c..0000000000
Binary files a/res/drawable-mdpi/hotseat_browser_pressed.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_phone_focused.png b/res/drawable-mdpi/hotseat_phone_focused.png
deleted file mode 100644
index 3b2d361f2a..0000000000
Binary files a/res/drawable-mdpi/hotseat_phone_focused.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_phone_normal.png b/res/drawable-mdpi/hotseat_phone_normal.png
deleted file mode 100644
index 750960bb45..0000000000
Binary files a/res/drawable-mdpi/hotseat_phone_normal.png and /dev/null differ
diff --git a/res/drawable-mdpi/hotseat_phone_pressed.png b/res/drawable-mdpi/hotseat_phone_pressed.png
deleted file mode 100644
index 8ad9d5a497..0000000000
Binary files a/res/drawable-mdpi/hotseat_phone_pressed.png and /dev/null differ
diff --git a/res/drawable-xhdpi/default_widget_preview_holo.9.png b/res/drawable-xhdpi/default_widget_preview_holo.9.png
new file mode 100644
index 0000000000..87cc9753b2
Binary files /dev/null and b/res/drawable-xhdpi/default_widget_preview_holo.9.png differ
diff --git a/res/drawable-xhdpi/gardening_crosshairs.png b/res/drawable-xhdpi/gardening_crosshairs.png
new file mode 100644
index 0000000000..18c9fbe37a
Binary files /dev/null and b/res/drawable-xhdpi/gardening_crosshairs.png differ
diff --git a/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png b/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png
new file mode 100644
index 0000000000..966d0c1262
Binary files /dev/null and b/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png differ
diff --git a/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png b/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png
new file mode 100644
index 0000000000..7e037ed03c
Binary files /dev/null and b/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png differ
diff --git a/res/drawable-xhdpi/homescreen_green_normal_holo.9.png b/res/drawable-xhdpi/homescreen_green_normal_holo.9.png
new file mode 100644
index 0000000000..219db3bf51
Binary files /dev/null and b/res/drawable-xhdpi/homescreen_green_normal_holo.9.png differ
diff --git a/res/drawable-xhdpi/homescreen_green_strong_holo.9.png b/res/drawable-xhdpi/homescreen_green_strong_holo.9.png
new file mode 100644
index 0000000000..cc71519aff
Binary files /dev/null and b/res/drawable-xhdpi/homescreen_green_strong_holo.9.png differ
diff --git a/res/drawable-xhdpi/hotseat_bg_panel.9.png b/res/drawable-xhdpi/hotseat_bg_panel.9.png
new file mode 100644
index 0000000000..6d9288e5a1
Binary files /dev/null and b/res/drawable-xhdpi/hotseat_bg_panel.9.png differ
diff --git a/res/drawable-xhdpi/hotseat_scrubber_holo.9.png b/res/drawable-xhdpi/hotseat_scrubber_holo.9.png
new file mode 100644
index 0000000000..55b313feaf
Binary files /dev/null and b/res/drawable-xhdpi/hotseat_scrubber_holo.9.png differ
diff --git a/res/drawable-xhdpi/hotseat_track_holo.9.png b/res/drawable-xhdpi/hotseat_track_holo.9.png
new file mode 100644
index 0000000000..a362a98cc5
Binary files /dev/null and b/res/drawable-xhdpi/hotseat_track_holo.9.png differ
diff --git a/res/drawable-xhdpi/ic_google_logo_normal_holo.png b/res/drawable-xhdpi/ic_google_logo_normal_holo.png
new file mode 100644
index 0000000000..925e0b97fb
Binary files /dev/null and b/res/drawable-xhdpi/ic_google_logo_normal_holo.png differ
diff --git a/res/drawable-xhdpi/ic_launcher_info_active_holo.png b/res/drawable-xhdpi/ic_launcher_info_active_holo.png
new file mode 100644
index 0000000000..356c0745f0
Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher_info_active_holo.png differ
diff --git a/res/drawable-xhdpi/ic_launcher_info_normal_holo.png b/res/drawable-xhdpi/ic_launcher_info_normal_holo.png
new file mode 100644
index 0000000000..1f827fa900
Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher_info_normal_holo.png differ
diff --git a/res/drawable-xhdpi/ic_launcher_market_holo.png b/res/drawable-xhdpi/ic_launcher_market_holo.png
new file mode 100644
index 0000000000..958f0de3c1
Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher_market_holo.png differ
diff --git a/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png b/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png
new file mode 100644
index 0000000000..77cc3e4d9a
Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png differ
diff --git a/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png b/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png
new file mode 100644
index 0000000000..ce6aff0fcb
Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png differ
diff --git a/res/drawable-xhdpi/ic_search_google_logo_normal_holo.png b/res/drawable-xhdpi/ic_search_google_logo_normal_holo.png
new file mode 100644
index 0000000000..b4978ae4dc
Binary files /dev/null and b/res/drawable-xhdpi/ic_search_google_logo_normal_holo.png differ
diff --git a/res/drawable-xhdpi/ic_search_normal_holo.png b/res/drawable-xhdpi/ic_search_normal_holo.png
new file mode 100644
index 0000000000..3700a0ca9e
Binary files /dev/null and b/res/drawable-xhdpi/ic_search_normal_holo.png differ
diff --git a/res/drawable-xhdpi/ic_voice_search_holo.png b/res/drawable-xhdpi/ic_voice_search_holo.png
new file mode 100644
index 0000000000..bab4e4906d
Binary files /dev/null and b/res/drawable-xhdpi/ic_voice_search_holo.png differ
diff --git a/res/drawable-xhdpi/page_hover_left_holo.9.png b/res/drawable-xhdpi/page_hover_left_holo.9.png
new file mode 100644
index 0000000000..9187c9b453
Binary files /dev/null and b/res/drawable-xhdpi/page_hover_left_holo.9.png differ
diff --git a/res/drawable-xhdpi/page_hover_right_holo.9.png b/res/drawable-xhdpi/page_hover_right_holo.9.png
new file mode 100644
index 0000000000..ad70587e86
Binary files /dev/null and b/res/drawable-xhdpi/page_hover_right_holo.9.png differ
diff --git a/res/drawable-xhdpi/portal_container_holo.9.png b/res/drawable-xhdpi/portal_container_holo.9.png
new file mode 100644
index 0000000000..55c701bccb
Binary files /dev/null and b/res/drawable-xhdpi/portal_container_holo.9.png differ
diff --git a/res/drawable-xhdpi/portal_ring_inner_holo.png b/res/drawable-xhdpi/portal_ring_inner_holo.png
new file mode 100644
index 0000000000..dfdd622a48
Binary files /dev/null and b/res/drawable-xhdpi/portal_ring_inner_holo.png differ
diff --git a/res/drawable-xhdpi/portal_ring_outer_holo.png b/res/drawable-xhdpi/portal_ring_outer_holo.png
new file mode 100644
index 0000000000..43579ec5eb
Binary files /dev/null and b/res/drawable-xhdpi/portal_ring_outer_holo.png differ
diff --git a/res/drawable-xhdpi/portal_ring_rest.png b/res/drawable-xhdpi/portal_ring_rest.png
new file mode 100644
index 0000000000..dcf1ae840b
Binary files /dev/null and b/res/drawable-xhdpi/portal_ring_rest.png differ
diff --git a/res/drawable-xhdpi/tab_selected_focused_holo.9.png b/res/drawable-xhdpi/tab_selected_focused_holo.9.png
new file mode 100644
index 0000000000..ffc7331562
Binary files /dev/null and b/res/drawable-xhdpi/tab_selected_focused_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_selected_holo.9.png b/res/drawable-xhdpi/tab_selected_holo.9.png
new file mode 100644
index 0000000000..9c98c9dba5
Binary files /dev/null and b/res/drawable-xhdpi/tab_selected_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_selected_pressed_focused_holo.9.png b/res/drawable-xhdpi/tab_selected_pressed_focused_holo.9.png
new file mode 100644
index 0000000000..24127117f9
Binary files /dev/null and b/res/drawable-xhdpi/tab_selected_pressed_focused_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_selected_pressed_holo.9.png b/res/drawable-xhdpi/tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000000..36bdf66e21
Binary files /dev/null and b/res/drawable-xhdpi/tab_selected_pressed_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_unselected_focused_holo.9.png b/res/drawable-xhdpi/tab_unselected_focused_holo.9.png
new file mode 100644
index 0000000000..dcf69645df
Binary files /dev/null and b/res/drawable-xhdpi/tab_unselected_focused_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_unselected_holo.9.png b/res/drawable-xhdpi/tab_unselected_holo.9.png
new file mode 100644
index 0000000000..557f3f5960
Binary files /dev/null and b/res/drawable-xhdpi/tab_unselected_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_unselected_pressed_focused_holo.9.png b/res/drawable-xhdpi/tab_unselected_pressed_focused_holo.9.png
new file mode 100644
index 0000000000..16536003fc
Binary files /dev/null and b/res/drawable-xhdpi/tab_unselected_pressed_focused_holo.9.png differ
diff --git a/res/drawable-xhdpi/tab_unselected_pressed_holo.9.png b/res/drawable-xhdpi/tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000000..09ae70569f
Binary files /dev/null and b/res/drawable-xhdpi/tab_unselected_pressed_holo.9.png differ
diff --git a/res/drawable-xhdpi/widget_resize_frame_holo.9.png b/res/drawable-xhdpi/widget_resize_frame_holo.9.png
new file mode 100644
index 0000000000..4988cad195
Binary files /dev/null and b/res/drawable-xhdpi/widget_resize_frame_holo.9.png differ
diff --git a/res/drawable-xhdpi/widget_resize_handle_bottom.png b/res/drawable-xhdpi/widget_resize_handle_bottom.png
new file mode 100644
index 0000000000..18b5a26f8a
Binary files /dev/null and b/res/drawable-xhdpi/widget_resize_handle_bottom.png differ
diff --git a/res/drawable-xhdpi/widget_resize_handle_left.png b/res/drawable-xhdpi/widget_resize_handle_left.png
new file mode 100644
index 0000000000..40d4e0be8c
Binary files /dev/null and b/res/drawable-xhdpi/widget_resize_handle_left.png differ
diff --git a/res/drawable-xhdpi/widget_resize_handle_right.png b/res/drawable-xhdpi/widget_resize_handle_right.png
new file mode 100644
index 0000000000..5ca60717bd
Binary files /dev/null and b/res/drawable-xhdpi/widget_resize_handle_right.png differ
diff --git a/res/drawable-xhdpi/widget_resize_handle_top.png b/res/drawable-xhdpi/widget_resize_handle_top.png
new file mode 100644
index 0000000000..329559cdd6
Binary files /dev/null and b/res/drawable-xhdpi/widget_resize_handle_top.png differ
diff --git a/res/drawable/all_apps_button.xml b/res/drawable/all_apps_button.xml
deleted file mode 100644
index 9f6b8ac016..0000000000
--- a/res/drawable/all_apps_button.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/res/drawable/box_launcher_top.xml b/res/drawable/box_launcher_top.xml
deleted file mode 100644
index 20c07c49a3..0000000000
--- a/res/drawable/box_launcher_top.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/res/drawable/hotseat_browser.xml b/res/drawable/hotseat_browser.xml
deleted file mode 100644
index 3c327bf35b..0000000000
--- a/res/drawable/hotseat_browser.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/res/drawable/hotseat_phone.xml b/res/drawable/hotseat_phone.xml
deleted file mode 100644
index 318a81ebe6..0000000000
--- a/res/drawable/hotseat_phone.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout-land/hotseat.xml b/res/layout-land/hotseat.xml
index 79661a7283..9dbe2344bb 100644
--- a/res/layout-land/hotseat.xml
+++ b/res/layout-land/hotseat.xml
@@ -30,4 +30,4 @@
launcher:widthGap="-1dp"
launcher:heightGap="-1dp"
launcher:maxGap="@dimen/workspace_max_gap" />
-
\ No newline at end of file
+
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml
index 4d40adadc6..215f8db518 100644
--- a/res/layout-land/launcher.xml
+++ b/res/layout-land/launcher.xml
@@ -23,11 +23,12 @@
android:layout_height="match_parent">
+ android:id="@+id/dock_divider"
+ layout="@layout/dock_divider"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="@dimen/button_bar_height"
+ android:layout_gravity="right" />
+ launcher:pageSpacing="@dimen/workspace_page_spacing"
+ launcher:scrollIndicatorPaddingLeft="@dimen/qsb_bar_height"
+ launcher:scrollIndicatorPaddingRight="@dimen/button_bar_height">
@@ -71,6 +74,4 @@
android:layout_width="@dimen/button_bar_height"
android:layout_height="match_parent"
android:layout_gravity="right" />
-
-
diff --git a/res/layout-port/hotseat.xml b/res/layout-port/hotseat.xml
index 88dd738674..a122abbf43 100644
--- a/res/layout-port/hotseat.xml
+++ b/res/layout-port/hotseat.xml
@@ -23,6 +23,7 @@
android:id="@+id/layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:paddingTop="@dimen/button_bar_height_padding"
android:paddingLeft="@dimen/workspace_left_padding"
android:paddingRight="@dimen/workspace_right_padding"
launcher:cellWidth="@dimen/workspace_cell_width"
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index fc39034f5e..f7e93f003c 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -25,12 +25,12 @@
+ android:layout_marginBottom="@dimen/button_bar_height"
+ android:layout_gravity="bottom" />
+ launcher:pageSpacing="@dimen/workspace_page_spacing"
+ launcher:scrollIndicatorPaddingLeft="@dimen/dock_divider_padding_left"
+ launcher:scrollIndicatorPaddingRight="@dimen/dock_divider_padding_right">
@@ -71,9 +73,6 @@
-
-
-
diff --git a/res/layout/scroll_indicator_track.xml b/res/layout/dock_divider.xml
similarity index 78%
rename from res/layout/scroll_indicator_track.xml
rename to res/layout/dock_divider.xml
index e3aa62591c..c3cac52766 100644
--- a/res/layout/scroll_indicator_track.xml
+++ b/res/layout/dock_divider.xml
@@ -16,7 +16,9 @@
\ No newline at end of file
diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml
index d4843933f0..d8cc7efecf 100644
--- a/res/values-land/dimens.xml
+++ b/res/values-land/dimens.xml
@@ -25,8 +25,10 @@
0dp
0dp
8dp
- @dimen/qsb_bar_height
- @dimen/button_bar_height
+ 0dp
+ 0dp
+ 12dp
+ 12dp
80dp
diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml
index e8d767ca8d..ea79a5a4d7 100644
--- a/res/values-land/styles.xml
+++ b/res/values-land/styles.xml
@@ -55,25 +55,5 @@
- 5dp
- 10dp
-
-
-
-
-
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
deleted file mode 100644
index 6bd16ed864..0000000000
--- a/res/values/arrays.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- - intent:#Intent;action=android.intent.action.DIAL;end
- - *BROWSER*
-
-
- - @drawable/hotseat_phone
- - @drawable/hotseat_browser
-
-
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index e093e36f8f..43591035fc 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -108,6 +108,9 @@
+
+
+
0dip
@@ -45,6 +47,10 @@
80dip
+
+ 8dp
+ 88dp
20dp
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index af8d986b91..06713bda28 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -282,7 +282,6 @@ public final class Launcher extends Activity
Environment.getExternalStorageDirectory() + "/launcher");
}
- loadHotseats();
checkForLocaleChange();
setContentView(R.layout.launcher);
setupViews();
@@ -368,7 +367,6 @@ public final class Launcher extends Activity
sLocaleConfiguration.mnc = mnc;
mIconCache.flush();
- loadHotseats();
final LocaleConfiguration localeConfiguration = sLocaleConfiguration;
new Thread("WriteLocaleConfiguration") {
@@ -458,141 +456,6 @@ public final class Launcher extends Activity
return Uri.parse(url);
}
- // Load the Intent templates from arrays.xml to populate the hotseats. For
- // each Intent, if it resolves to a single app, use that as the launch
- // intent & use that app's label as the contentDescription. Otherwise,
- // retain the ResolveActivity so the user can pick an app.
- private void loadHotseats() {
- if (mHotseatConfig == null) {
- mHotseatConfig = getResources().getStringArray(R.array.hotseats);
- if (mHotseatConfig.length > 0) {
- mHotseats = new Intent[mHotseatConfig.length];
- mHotseatLabels = new CharSequence[mHotseatConfig.length];
- mHotseatIcons = new Drawable[mHotseatConfig.length];
- } else {
- mHotseats = null;
- mHotseatIcons = null;
- mHotseatLabels = null;
- }
-
- TypedArray hotseatIconDrawables = getResources().obtainTypedArray(R.array.hotseat_icons);
- for (int i=0; i allMatches = pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
- if (LOGD) {
- Log.d(TAG, "Best match for intent: " + bestMatch);
- Log.d(TAG, "All matches: ");
- for (ResolveInfo ri : allMatches) {
- Log.d(TAG, " --> " + ri);
- }
- }
- // did this resolve to a single app, or the resolver?
- if (allMatches.size() == 0 || bestMatch == null) {
- // can't find any activity to handle this. let's leave the
- // intent as-is and let Launcher show a toast when it fails
- // to launch.
- mHotseats[i] = intent;
-
- // set accessibility text to "Not installed"
- mHotseatLabels[i] = getText(R.string.activity_not_found);
- } else {
- boolean found = false;
- for (ResolveInfo ri : allMatches) {
- if (bestMatch.activityInfo.name.equals(ri.activityInfo.name)
- && bestMatch.activityInfo.applicationInfo.packageName
- .equals(ri.activityInfo.applicationInfo.packageName)) {
- found = true;
- break;
- }
- }
-
- if (!found) {
- if (LOGD) Log.d(TAG, "Multiple options, no default yet");
- // the bestMatch is probably the ResolveActivity, meaning the
- // user has not yet selected a default
- // so: we'll keep the original intent for now
- mHotseats[i] = intent;
-
- // set the accessibility text to "Select shortcut"
- mHotseatLabels[i] = getText(R.string.title_select_shortcut);
- } else {
- // we have an app!
- // now reconstruct the intent to launch it through the front
- // door
- ComponentName com = new ComponentName(
- bestMatch.activityInfo.applicationInfo.packageName,
- bestMatch.activityInfo.name);
- mHotseats[i] = new Intent(Intent.ACTION_MAIN).setComponent(com);
-
- // load the app label for accessibility
- mHotseatLabels[i] = bestMatch.activityInfo.loadLabel(pm);
- }
- }
-
- if (LOGD) {
- Log.d(TAG, "loadHotseats: hotseat " + i
- + " final intent=["
- + ((mHotseats[i] == null)
- ? "null"
- : mHotseats[i].toUri(Intent.URI_INTENT_SCHEME))
- + "] label=[" + mHotseatLabels[i]
- + "]"
- );
- }
- }
- }
-
/**
* Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have
* a configuration step, this allows the proper animations to run after other transitions.
@@ -2250,7 +2113,6 @@ public final class Launcher extends Activity
if (!springLoaded && !LauncherApplication.isScreenLarge()) {
// Hide the workspace scrollbar
mWorkspace.hideScrollingIndicator(true);
- mWorkspace.hideScrollIndicatorTrack();
}
}
});
@@ -2276,7 +2138,6 @@ public final class Launcher extends Activity
if (!springLoaded && !LauncherApplication.isScreenLarge()) {
// Hide the workspace scrollbar
mWorkspace.hideScrollingIndicator(true);
- mWorkspace.hideScrollIndicatorTrack();
}
}
}
@@ -2334,7 +2195,6 @@ public final class Launcher extends Activity
public void onAnimationStart(android.animation.Animator animation) {
if (!springLoaded && !LauncherApplication.isScreenLarge()) {
// Show the workspace scrollbar
- mWorkspace.showScrollIndicatorTrack();
mWorkspace.flashScrollingIndicator();
}
}
@@ -2356,8 +2216,7 @@ public final class Launcher extends Activity
((LauncherTransitionable) fromView).onLauncherTransitionEnd(null);
if (!springLoaded && !LauncherApplication.isScreenLarge()) {
- // Show the workspace scrollbar
- mWorkspace.showScrollIndicatorTrack();
+ // Flash the workspace scrollbar
mWorkspace.flashScrollingIndicator();
}
}
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java
index bed107a1f4..f8c956b375 100644
--- a/src/com/android/launcher2/PagedView.java
+++ b/src/com/android/launcher2/PagedView.java
@@ -163,7 +163,8 @@ public abstract class PagedView extends ViewGroup {
// Scrolling indicator
private android.animation.ValueAnimator mScrollIndicatorAnimator;
private ImageView mScrollIndicator;
- private ImageView mScrollTrack;
+ private int mScrollIndicatorPaddingLeft;
+ private int mScrollIndicatorPaddingRight;
private boolean mHasScrollIndicator = true;
private static final int sScrollIndicatorFadeInDuration = 150;
private static final int sScrollIndicatorFadeOutDuration = 650;
@@ -203,6 +204,10 @@ public abstract class PagedView extends ViewGroup {
R.styleable.PagedView_pageLayoutWidthGap, -1);
mPageLayoutHeightGap = a.getDimensionPixelSize(
R.styleable.PagedView_pageLayoutHeightGap, -1);
+ mScrollIndicatorPaddingLeft =
+ a.getDimensionPixelSize(R.styleable.PagedView_scrollIndicatorPaddingLeft, 0);
+ mScrollIndicatorPaddingRight =
+ a.getDimensionPixelSize(R.styleable.PagedView_scrollIndicatorPaddingRight, 0);
a.recycle();
setHapticFeedbackEnabled(false);
@@ -1741,23 +1746,13 @@ public abstract class PagedView extends ViewGroup {
int numPages = getChildCount();
int pageWidth = getMeasuredWidth();
int maxPageWidth = (numPages * getMeasuredWidth()) + ((numPages - 1) * mPageSpacing);
- int trackWidth = pageWidth;
+ int trackWidth = pageWidth - mScrollIndicatorPaddingLeft - mScrollIndicatorPaddingRight;
int indicatorWidth = mScrollIndicator.getMeasuredWidth() -
mScrollIndicator.getPaddingLeft() - mScrollIndicator.getPaddingRight();
- int paddingLeft = 0;
- int paddingRight = 0;
-
- // Get the track properties
- getScrollingIndicatorTrack();
- if (mScrollTrack != null) {
- paddingLeft = mScrollTrack.getPaddingLeft();
- paddingRight = mScrollTrack.getPaddingRight();
- trackWidth = mScrollTrack.getMeasuredWidth() - paddingLeft - paddingRight;
- }
float offset = (float) getScrollX() / maxPageWidth;
int indicatorSpace = trackWidth / numPages;
- int indicatorPos = (int) (offset * trackWidth) + paddingLeft;
+ int indicatorPos = (int) (offset * trackWidth) + mScrollIndicatorPaddingLeft;
if (hasElasticScrollIndicator()) {
if (mScrollIndicator.getMeasuredWidth() != indicatorSpace) {
mScrollIndicator.getLayoutParams().width = indicatorSpace;
@@ -1771,30 +1766,10 @@ public abstract class PagedView extends ViewGroup {
mScrollIndicator.invalidate();
}
- private ImageView getScrollingIndicatorTrack() {
- if (mScrollTrack == null) {
- ViewGroup parent = (ViewGroup) getParent();
- mScrollTrack = (ImageView) (parent.findViewById(R.id.paged_view_indicator_track));
- }
- return mScrollTrack;
- }
-
public void showScrollIndicatorTrack() {
- if (!isScrollingIndicatorEnabled()) return;
-
- getScrollingIndicatorTrack();
- if (mScrollTrack != null) {
- mScrollTrack.setVisibility(View.VISIBLE);
- }
}
public void hideScrollIndicatorTrack() {
- if (!isScrollingIndicatorEnabled()) return;
-
- getScrollingIndicatorTrack();
- if (mScrollTrack != null) {
- mScrollTrack.setVisibility(View.GONE);
- }
}
/* Accessibility */