From 82f5553a137f0a25f7333a6fc9507c847b7a42ed Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 9 Aug 2011 14:14:23 -0700 Subject: Cling ALL the things! (Workspace and AllApps) Change-Id: Iee6b38dbb4f0b2fb85f854d70fd86db1e7b1d8f7 --- res/drawable-hdpi/cling.png | Bin 0 -> 57394 bytes res/drawable-mdpi/cling.png | Bin 0 -> 32299 bytes res/drawable-xhdpi/cling.png | Bin 0 -> 94777 bytes res/drawable/cling_button_bg.xml | 20 ++ res/layout-land/all_apps_cling.xml | 44 +++++ res/layout-land/launcher.xml | 6 + res/layout-land/workspace_cling.xml | 51 +++++ res/layout-large-land/all_apps_cling.xml | 43 +++++ res/layout-large-land/workspace_cling.xml | 54 ++++++ res/layout-large-port/all_apps_cling.xml | 44 +++++ res/layout-large-port/workspace_cling.xml | 54 ++++++ res/layout-large/launcher.xml | 6 + res/layout-port/all_apps_cling.xml | 45 +++++ res/layout-port/launcher.xml | 6 + res/layout-port/workspace_cling.xml | 51 +++++ res/layout/apps_customize_pane.xml | 10 +- res/values/attrs.xml | 7 + res/values/colors.xml | 3 + res/values/dimens.xml | 3 + res/values/strings.xml | 16 ++ res/values/styles.xml | 29 +++ src/com/android/launcher2/Cling.java | 303 ++++++++++++++++++++++++++++++ src/com/android/launcher2/Launcher.java | 53 +++++- 23 files changed, 845 insertions(+), 3 deletions(-) create mode 100644 res/drawable-hdpi/cling.png create mode 100644 res/drawable-mdpi/cling.png create mode 100644 res/drawable-xhdpi/cling.png create mode 100644 res/drawable/cling_button_bg.xml create mode 100644 res/layout-land/all_apps_cling.xml create mode 100644 res/layout-land/workspace_cling.xml create mode 100644 res/layout-large-land/all_apps_cling.xml create mode 100644 res/layout-large-land/workspace_cling.xml create mode 100644 res/layout-large-port/all_apps_cling.xml create mode 100644 res/layout-large-port/workspace_cling.xml create mode 100644 res/layout-port/all_apps_cling.xml create mode 100644 res/layout-port/workspace_cling.xml create mode 100644 src/com/android/launcher2/Cling.java diff --git a/res/drawable-hdpi/cling.png b/res/drawable-hdpi/cling.png new file mode 100644 index 000000000..d60579940 Binary files /dev/null and b/res/drawable-hdpi/cling.png differ diff --git a/res/drawable-mdpi/cling.png b/res/drawable-mdpi/cling.png new file mode 100644 index 000000000..fba3a0787 Binary files /dev/null and b/res/drawable-mdpi/cling.png differ diff --git a/res/drawable-xhdpi/cling.png b/res/drawable-xhdpi/cling.png new file mode 100644 index 000000000..1cee1de51 Binary files /dev/null and b/res/drawable-xhdpi/cling.png differ diff --git a/res/drawable/cling_button_bg.xml b/res/drawable/cling_button_bg.xml new file mode 100644 index 000000000..791250b7d --- /dev/null +++ b/res/drawable/cling_button_bg.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/layout-land/all_apps_cling.xml b/res/layout-land/all_apps_cling.xml new file mode 100644 index 000000000..95d88b00c --- /dev/null +++ b/res/layout-land/all_apps_cling.xml @@ -0,0 +1,44 @@ + + + + + + +