summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authornebkat <nebkat@teamhacksung.org>2012-11-30 19:41:34 +0000
committernebkat <nebkat@teamhacksung.org>2012-12-01 21:55:43 +0000
commit9180c157cc84b76ee92d26d2ee4f199da4fc0038 (patch)
tree320b5552014dfb15bf000c15a728c02796bd8704 /res/layout-port
parente74a54343ce7896b5005154e8bcbc7d5f06c7808 (diff)
downloadandroid_packages_apps_Trebuchet-9180c157cc84b76ee92d26d2ee4f199da4fc0038.tar.gz
android_packages_apps_Trebuchet-9180c157cc84b76ee92d26d2ee4f199da4fc0038.tar.bz2
android_packages_apps_Trebuchet-9180c157cc84b76ee92d26d2ee4f199da4fc0038.zip
Wallpaper Hack
Normally the wallpaper is drawn by the system in a separate window. This means that the wallpaper can often be drawn out of sync with the launcher. This hack gets the wallpaper bitmap and draws it manually (in sync with the rest of the launcher). This increases performance greatly. Change-Id: I6aaf9c574cabcf2ee0bfeef1076140421108331d
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/launcher.xml32
1 files changed, 15 insertions, 17 deletions
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index b4ec30c3a..dff33cae2 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -23,23 +23,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <!-- Keep these behind the workspace so that they are not visible when
- we go into AllApps -->
- <include
- android:id="@+id/dock_divider"
- layout="@layout/workspace_divider"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/button_bar_height"
- android:layout_gravity="bottom" />
- <include
- android:id="@+id/paged_view_indicator"
- layout="@layout/scroll_indicator"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:layout_marginBottom="@dimen/button_bar_height" />
-
<!-- The workspace contains 5 screens of cells -->
<com.cyanogenmod.trebuchet.Workspace
android:id="@+id/workspace"
@@ -55,6 +38,21 @@
launcher:scrollIndicatorPaddingLeft="@dimen/workspace_divider_padding_left"
launcher:scrollIndicatorPaddingRight="@dimen/workspace_divider_padding_right" />
+ <include
+ android:id="@+id/dock_divider"
+ layout="@layout/workspace_divider"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/button_bar_height"
+ android:layout_gravity="bottom" />
+ <include
+ android:id="@+id/paged_view_indicator"
+ layout="@layout/scroll_indicator"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="@dimen/button_bar_height" />
+
<include layout="@layout/hotseat"
android:id="@+id/hotseat"
android:layout_width="match_parent"