From 86b40541a8f48287fed0663f1e6ac10610523d32 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 1 Jun 2010 14:48:12 -0700 Subject: Make 2D All Apps work better in landscape and on hdpi. * Correct the density (or, rather, remove the density) of the icons in the cache to ensure they're drawn px-for-px. * Create a new landscape layout for 2DAA that aligns things properly (viz: Home icon at right, padding tuned, 6 columns). * Performance improvement: Make the app grid, icons, and home icon all opaque (by setting a black background) and move the home icon so it doesn't overlap the grid. Change-Id: I961323e9e39cb122cdc694853706e7fcdd10142f --- res/layout-land/all_apps_2d.xml | 63 +++++++++++++++++++++++++++++++++++++++++ res/layout-port/all_apps_2d.xml | 63 +++++++++++++++++++++++++++++++++++++++++ res/layout/all_apps_2d.xml | 63 ----------------------------------------- res/values/dimens.xml | 4 +++ 4 files changed, 130 insertions(+), 63 deletions(-) create mode 100644 res/layout-land/all_apps_2d.xml create mode 100644 res/layout-port/all_apps_2d.xml delete mode 100644 res/layout/all_apps_2d.xml (limited to 'res') diff --git a/res/layout-land/all_apps_2d.xml b/res/layout-land/all_apps_2d.xml new file mode 100644 index 000000000..a253b937b --- /dev/null +++ b/res/layout-land/all_apps_2d.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + diff --git a/res/layout-port/all_apps_2d.xml b/res/layout-port/all_apps_2d.xml new file mode 100644 index 000000000..0607d62cc --- /dev/null +++ b/res/layout-port/all_apps_2d.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + diff --git a/res/layout/all_apps_2d.xml b/res/layout/all_apps_2d.xml deleted file mode 100644 index 7bbfa91e7..000000000 --- a/res/layout/all_apps_2d.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 26cb7e630..790f83599 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -24,6 +24,10 @@ button_bar_height changes --> 56dip + + 25dip + 12dip -- cgit v1.2.3