From d016015c2396b885a7ba30f3678d5c50830c20bd Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 15 Nov 2011 15:04:42 -0800 Subject: Enabling clings for tablets (Bug 5506377) Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6 --- res/drawable-hdpi/bg_cling4.png | Bin 0 -> 647 bytes res/drawable-hdpi/ic_home_all_apps_holo_dark.png | Bin 1312 -> 1325 bytes res/drawable-mdpi/bg_cling4.png | Bin 0 -> 537 bytes res/drawable-mdpi/ic_home_all_apps_holo_dark.png | Bin 1003 -> 979 bytes res/drawable-xhdpi/bg_cling4.png | Bin 0 -> 986 bytes res/drawable-xhdpi/ic_home_all_apps_holo_dark.png | Bin 1548 -> 1653 bytes res/layout-sw600dp-land/all_apps_cling.xml | 43 ----------------- res/layout-sw600dp-land/workspace_cling.xml | 54 --------------------- res/layout-sw600dp-port/all_apps_cling.xml | 44 ----------------- res/layout-sw600dp-port/folder_cling.xml | 46 ++++++++++++++++++ res/layout-sw600dp-port/workspace_cling.xml | 56 +++++++++++----------- res/layout-sw600dp/all_apps_cling.xml | 46 ++++++++++++++++++ res/layout-sw600dp/folder_cling.xml | 46 ++++++++++++++++++ res/layout-sw600dp/launcher.xml | 6 +++ res/layout-sw600dp/workspace_cling.xml | 56 ++++++++++++++++++++++ res/values-sw600dp-land/dimens.xml | 7 +++ res/values-sw600dp-port/dimens.xml | 7 +++ res/values-sw600dp/styles.xml | 32 +++++++++++++ res/values/dimens.xml | 3 ++ src/com/android/launcher2/Cling.java | 29 ++++++++--- src/com/android/launcher2/Launcher.java | 2 - 21 files changed, 301 insertions(+), 176 deletions(-) create mode 100644 res/drawable-hdpi/bg_cling4.png create mode 100644 res/drawable-mdpi/bg_cling4.png create mode 100644 res/drawable-xhdpi/bg_cling4.png delete mode 100644 res/layout-sw600dp-land/all_apps_cling.xml delete mode 100644 res/layout-sw600dp-land/workspace_cling.xml delete mode 100644 res/layout-sw600dp-port/all_apps_cling.xml create mode 100644 res/layout-sw600dp-port/folder_cling.xml create mode 100644 res/layout-sw600dp/all_apps_cling.xml create mode 100644 res/layout-sw600dp/folder_cling.xml create mode 100644 res/layout-sw600dp/workspace_cling.xml diff --git a/res/drawable-hdpi/bg_cling4.png b/res/drawable-hdpi/bg_cling4.png new file mode 100644 index 000000000..94036677e Binary files /dev/null and b/res/drawable-hdpi/bg_cling4.png differ diff --git a/res/drawable-hdpi/ic_home_all_apps_holo_dark.png b/res/drawable-hdpi/ic_home_all_apps_holo_dark.png index 1533a158b..be2a88069 100644 Binary files a/res/drawable-hdpi/ic_home_all_apps_holo_dark.png and b/res/drawable-hdpi/ic_home_all_apps_holo_dark.png differ diff --git a/res/drawable-mdpi/bg_cling4.png b/res/drawable-mdpi/bg_cling4.png new file mode 100644 index 000000000..2f152f4db Binary files /dev/null and b/res/drawable-mdpi/bg_cling4.png differ diff --git a/res/drawable-mdpi/ic_home_all_apps_holo_dark.png b/res/drawable-mdpi/ic_home_all_apps_holo_dark.png index ebbc7929e..3efe18e91 100644 Binary files a/res/drawable-mdpi/ic_home_all_apps_holo_dark.png and b/res/drawable-mdpi/ic_home_all_apps_holo_dark.png differ diff --git a/res/drawable-xhdpi/bg_cling4.png b/res/drawable-xhdpi/bg_cling4.png new file mode 100644 index 000000000..f4bb83e39 Binary files /dev/null and b/res/drawable-xhdpi/bg_cling4.png differ diff --git a/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png b/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png index 61d9b55cc..18c5a0abc 100644 Binary files a/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png and b/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png differ diff --git a/res/layout-sw600dp-land/all_apps_cling.xml b/res/layout-sw600dp-land/all_apps_cling.xml deleted file mode 100644 index bca7baf33..000000000 --- a/res/layout-sw600dp-land/all_apps_cling.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -