From 0dca1ec41479a74f8da080224fa0c7eacab674d6 Mon Sep 17 00:00:00 2001 From: Andrew Flynn Date: Wed, 29 Feb 2012 13:33:22 -0800 Subject: New small/large screen division for Launcher. Previously the dp division between the two was set at 600dp (7" tablets). This has now been bumped up to 720dp (10" tablets). Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184 --- res/drawable-sw600dp-hdpi/ic_allapps.png | Bin 0 -> 8906 bytes res/drawable-sw600dp-hdpi/ic_allapps_pressed.png | Bin 0 -> 10451 bytes res/drawable-sw600dp-mdpi/ic_allapps.png | Bin 0 -> 5271 bytes res/drawable-sw600dp-mdpi/ic_allapps_pressed.png | Bin 0 -> 9048 bytes res/drawable-sw600dp-xhdpi/ic_allapps.png | Bin 0 -> 12289 bytes res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png | Bin 0 -> 13531 bytes res/layout-land/hotseat.xml | 2 +- res/layout-land/launcher.xml | 4 +- res/layout-port/hotseat.xml | 2 +- res/layout-port/launcher.xml | 4 +- res/layout-sw600dp-land/application.xml | 20 --- res/layout-sw600dp-port/application.xml | 18 --- res/layout-sw600dp-port/folder_cling.xml | 46 ------ res/layout-sw600dp-port/workspace_cling.xml | 56 ------- res/layout-sw600dp/all_apps_cling.xml | 46 ------ .../external_widget_drop_list_item.xml | 39 ----- res/layout-sw600dp/folder_cling.xml | 46 ------ res/layout-sw600dp/launcher.xml | 54 ------- res/layout-sw600dp/market_button.xml | 36 ----- res/layout-sw600dp/search_bar.xml | 76 ---------- res/layout-sw600dp/wallpaper_item.xml | 26 ---- res/layout-sw600dp/workspace.xml | 30 ---- res/layout-sw600dp/workspace_cling.xml | 56 ------- res/layout-sw600dp/workspace_screen.xml | 33 ---- res/layout-sw720dp-land/application.xml | 20 +++ res/layout-sw720dp-port/application.xml | 18 +++ res/layout-sw720dp-port/folder_cling.xml | 46 ++++++ res/layout-sw720dp-port/workspace_cling.xml | 56 +++++++ res/layout-sw720dp/all_apps_cling.xml | 46 ++++++ .../external_widget_drop_list_item.xml | 39 +++++ res/layout-sw720dp/folder_cling.xml | 46 ++++++ res/layout-sw720dp/launcher.xml | 54 +++++++ res/layout-sw720dp/market_button.xml | 36 +++++ res/layout-sw720dp/search_bar.xml | 76 ++++++++++ res/layout-sw720dp/wallpaper_item.xml | 26 ++++ res/layout-sw720dp/workspace.xml | 30 ++++ res/layout-sw720dp/workspace_cling.xml | 56 +++++++ res/layout-sw720dp/workspace_screen.xml | 33 ++++ res/values-sw340dp-land/dimens.xml | 22 --- res/values-sw340dp-port/dimens.xml | 22 --- res/values-sw340dp/dimens.xml | 24 +++ res/values-sw600dp-land/dimens.xml | 39 +++-- res/values-sw600dp-port/dimens.xml | 34 ++--- res/values-sw600dp-port/styles.xml | 24 --- res/values-sw600dp/config.xml | 26 +--- res/values-sw600dp/dimens.xml | 78 +++------- res/values-sw600dp/styles.xml | 167 --------------------- res/values-sw600dp/wallpapers.xml | 32 ---- res/values-sw720dp-land/dimens.xml | 29 +++- res/values-sw720dp-port/dimens.xml | 26 +++- res/values-sw720dp-port/styles.xml | 24 +++ res/values-sw720dp/config.xml | 22 +++ res/values-sw720dp/dimens.xml | 49 +++++- res/values-sw720dp/styles.xml | 167 +++++++++++++++++++++ res/values-sw720dp/wallpapers.xml | 32 ++++ res/values/colors.xml | 1 + res/values/config.xml | 6 + res/values/dimens.xml | 3 + res/values/styles.xml | 6 +- 59 files changed, 1022 insertions(+), 987 deletions(-) create mode 100644 res/drawable-sw600dp-hdpi/ic_allapps.png create mode 100644 res/drawable-sw600dp-hdpi/ic_allapps_pressed.png create mode 100644 res/drawable-sw600dp-mdpi/ic_allapps.png create mode 100644 res/drawable-sw600dp-mdpi/ic_allapps_pressed.png create mode 100644 res/drawable-sw600dp-xhdpi/ic_allapps.png create mode 100644 res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png delete mode 100644 res/layout-sw600dp-land/application.xml delete mode 100644 res/layout-sw600dp-port/application.xml delete mode 100644 res/layout-sw600dp-port/folder_cling.xml delete mode 100644 res/layout-sw600dp-port/workspace_cling.xml delete mode 100644 res/layout-sw600dp/all_apps_cling.xml delete mode 100644 res/layout-sw600dp/external_widget_drop_list_item.xml delete mode 100644 res/layout-sw600dp/folder_cling.xml delete mode 100644 res/layout-sw600dp/launcher.xml delete mode 100644 res/layout-sw600dp/market_button.xml delete mode 100644 res/layout-sw600dp/search_bar.xml delete mode 100644 res/layout-sw600dp/wallpaper_item.xml delete mode 100644 res/layout-sw600dp/workspace.xml delete mode 100644 res/layout-sw600dp/workspace_cling.xml delete mode 100644 res/layout-sw600dp/workspace_screen.xml create mode 100644 res/layout-sw720dp-land/application.xml create mode 100644 res/layout-sw720dp-port/application.xml create mode 100644 res/layout-sw720dp-port/folder_cling.xml create mode 100644 res/layout-sw720dp-port/workspace_cling.xml create mode 100644 res/layout-sw720dp/all_apps_cling.xml create mode 100644 res/layout-sw720dp/external_widget_drop_list_item.xml create mode 100644 res/layout-sw720dp/folder_cling.xml create mode 100644 res/layout-sw720dp/launcher.xml create mode 100644 res/layout-sw720dp/market_button.xml create mode 100644 res/layout-sw720dp/search_bar.xml create mode 100644 res/layout-sw720dp/wallpaper_item.xml create mode 100644 res/layout-sw720dp/workspace.xml create mode 100644 res/layout-sw720dp/workspace_cling.xml create mode 100644 res/layout-sw720dp/workspace_screen.xml delete mode 100644 res/values-sw600dp-port/styles.xml delete mode 100644 res/values-sw600dp/styles.xml delete mode 100644 res/values-sw600dp/wallpapers.xml create mode 100644 res/values-sw720dp-port/styles.xml create mode 100644 res/values-sw720dp/config.xml create mode 100644 res/values-sw720dp/styles.xml create mode 100644 res/values-sw720dp/wallpapers.xml (limited to 'res') diff --git a/res/drawable-sw600dp-hdpi/ic_allapps.png b/res/drawable-sw600dp-hdpi/ic_allapps.png new file mode 100644 index 000000000..323d8a214 Binary files /dev/null and b/res/drawable-sw600dp-hdpi/ic_allapps.png differ diff --git a/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png new file mode 100644 index 000000000..61f644ea6 Binary files /dev/null and b/res/drawable-sw600dp-hdpi/ic_allapps_pressed.png differ diff --git a/res/drawable-sw600dp-mdpi/ic_allapps.png b/res/drawable-sw600dp-mdpi/ic_allapps.png new file mode 100644 index 000000000..198ffdb7a Binary files /dev/null and b/res/drawable-sw600dp-mdpi/ic_allapps.png differ diff --git a/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png new file mode 100644 index 000000000..434f10c7d Binary files /dev/null and b/res/drawable-sw600dp-mdpi/ic_allapps_pressed.png differ diff --git a/res/drawable-sw600dp-xhdpi/ic_allapps.png b/res/drawable-sw600dp-xhdpi/ic_allapps.png new file mode 100644 index 000000000..776225dbf Binary files /dev/null and b/res/drawable-sw600dp-xhdpi/ic_allapps.png differ diff --git a/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png b/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png new file mode 100644 index 000000000..d06c8c3d1 Binary files /dev/null and b/res/drawable-sw600dp-xhdpi/ic_allapps_pressed.png differ diff --git a/res/layout-land/hotseat.xml b/res/layout-land/hotseat.xml index c0c87aff7..6802ea007 100644 --- a/res/layout-land/hotseat.xml +++ b/res/layout-land/hotseat.xml @@ -18,7 +18,7 @@ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" android:background="@drawable/hotseat_bg_panel" launcher:cellCountX="1" - launcher:cellCountY="5"> + launcher:cellCountY="@integer/hotseat_cell_count"> diff --git a/res/layout-port/hotseat.xml b/res/layout-port/hotseat.xml index 035d95884..b93704339 100644 --- a/res/layout-port/hotseat.xml +++ b/res/layout-port/hotseat.xml @@ -17,7 +17,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" android:background="@drawable/hotseat_bg_panel" - launcher:cellCountX="5" + launcher:cellCountX="@integer/hotseat_cell_count" launcher:cellCountY="1"> diff --git a/res/layout-sw600dp-land/application.xml b/res/layout-sw600dp-land/application.xml deleted file mode 100644 index 9393f7e40..000000000 --- a/res/layout-sw600dp-land/application.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/res/layout-sw600dp-port/application.xml b/res/layout-sw600dp-port/application.xml deleted file mode 100644 index af7a8a4df..000000000 --- a/res/layout-sw600dp-port/application.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - diff --git a/res/layout-sw600dp-port/folder_cling.xml b/res/layout-sw600dp-port/folder_cling.xml deleted file mode 100644 index 017d0fde9..000000000 --- a/res/layout-sw600dp-port/folder_cling.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - -