diff options
author | Joe Onorato <joeo@android.com> | 2009-10-06 13:19:30 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-10-06 13:19:30 -0700 |
commit | 5779e2a70862f3237f5ee4cdec783a739c66fc08 (patch) | |
tree | e4f738fd949299b5628a61af787d05ae03c320e7 /res/layout-land/launcher.xml | |
parent | 2e5c432a0aa7e83031575df73bed43a297e2eed3 (diff) | |
download | android_packages_apps_Trebuchet-5779e2a70862f3237f5ee4cdec783a739c66fc08.tar.gz android_packages_apps_Trebuchet-5779e2a70862f3237f5ee4cdec783a739c66fc08.tar.bz2 android_packages_apps_Trebuchet-5779e2a70862f3237f5ee4cdec783a739c66fc08.zip |
Launcher2 - remove unused resources and make it not crash in landscape.
Landscape still doesn't look good.
Diffstat (limited to 'res/layout-land/launcher.xml')
-rw-r--r-- | res/layout-land/launcher.xml | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index fd27bade1..4f2709f6a 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -22,6 +22,18 @@ android:layout_width="fill_parent" android:layout_height="fill_parent"> + <com.android.launcher2.AllAppsView + android:id="@+id/all_apps_view" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + android:scrollbarStyle="outsideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + + android:verticalSpacing="10dip" + android:numColumns="4" /> + <!-- The workspace contains 3 screens of cells --> <com.android.launcher2.Workspace android:id="@+id/workspace" @@ -38,32 +50,27 @@ <com.android.launcher2.HandleView android:id="@+id/all_apps_button" - android:layout_width="56dip" + android:layout_width="@dimen/button_bar_height" android:layout_height="fill_parent" - - android:background="@drawable/handle" + android:layout_gravity="right|center_vertical" android:focusable="true" android:clickable="true" android:scaleType="center" - android:src="@drawable/handle_icon" - - launcher:direction="vertical" /> + android:src="@drawable/all_apps_button" + launcher:direction="vertical" + /> <com.android.launcher2.DeleteZone android:id="@+id/delete_zone" android:layout_width="49dip" - android:layout_height="wrap_content" + android:layout_height="fill_parent" android:scaleType="center" - android:src="@drawable/ic_delete" - android:background="@drawable/delete_zone_selector" - - android:layout_marginBottom="-25dip" - android:layout_gravity="right|center_vertical" + android:src="@drawable/delete_zone_selector" android:visibility="invisible" - - launcher:direction="vertical" /> + launcher:direction="vertical" + /> </com.android.launcher2.DragLayer> |