diff options
author | Winson Chung <winsonc@google.com> | 2011-07-13 17:25:49 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-07-20 14:12:20 -0700 |
commit | 3d503fbd9468fb2b9fa645f4f7b91e11229edbfa (patch) | |
tree | 38d8bb61f62a47a731b97520a274e07cefbec20c /res/layout-land/launcher.xml | |
parent | ec8a2eee50290e7d9c95936041b937b6e94bb152 (diff) | |
download | android_packages_apps_Trebuchet-3d503fbd9468fb2b9fa645f4f7b91e11229edbfa.tar.gz android_packages_apps_Trebuchet-3d503fbd9468fb2b9fa645f4f7b91e11229edbfa.tar.bz2 android_packages_apps_Trebuchet-3d503fbd9468fb2b9fa645f4f7b91e11229edbfa.zip |
Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
Diffstat (limited to 'res/layout-land/launcher.xml')
-rw-r--r-- | res/layout-land/launcher.xml | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 428a0a73a..4d40adadc 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -40,8 +40,8 @@ android:id="@+id/workspace" android:layout_width="match_parent" android:layout_height="match_parent" - android:scrollbars="horizontal" - android:fadeScrollbars="true" + android:paddingLeft="@dimen/qsb_bar_height" + android:paddingRight="@dimen/button_bar_height" launcher:defaultScreen="2" launcher:cellCountX="4" launcher:cellCountY="4" @@ -66,31 +66,11 @@ android:layout_height="match_parent" android:visibility="invisible" /> - <RelativeLayout - android:id="@+id/all_apps_button_cluster" - android:layout_height="fill_parent" - android:layout_width="@dimen/button_bar_height_portrait" - android:layout_gravity="right|center_vertical" - android:layout_marginBottom="@dimen/half_status_bar_height"> - <ImageView - android:id="@+id/hotseat_left" - style="@style/HotseatButton.Left" - android:layout_below="@id/all_apps_button" - android:src="@drawable/hotseat_phone" - android:onClick="launchHotSeat" /> - <com.android.launcher2.HandleView - style="@style/HotseatButton" - android:id="@+id/all_apps_button" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:src="@drawable/all_apps_button" - launcher:direction="vertical" /> - <ImageView - android:id="@+id/hotseat_right" - style="@style/HotseatButton.Right" - android:layout_above="@id/all_apps_button" - android:src="@drawable/hotseat_browser" - android:onClick="launchHotSeat" /> + <include layout="@layout/hotseat" + android:id="@+id/hotseat" + android:layout_width="@dimen/button_bar_height" + android:layout_height="match_parent" + android:layout_gravity="right" /> + - </RelativeLayout> </com.android.launcher2.DragLayer> |