summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-11-09 19:19:59 -0800
committerRomain Guy <romainguy@android.com>2009-11-09 19:19:59 -0800
commit8a73c51ee87b6d9b12daba188034889caf7a905b (patch)
treeba0995e4f1f4df2be49a8081ff2d03ea11509130 /res/layout-port
parent1e2efc8a6d355bb6c0fc75261eb819e250ddb8fb (diff)
downloadandroid_packages_apps_Trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.tar.gz
android_packages_apps_Trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.tar.bz2
android_packages_apps_Trebuchet-8a73c51ee87b6d9b12daba188034889caf7a905b.zip
New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/launcher.xml36
1 files changed, 31 insertions, 5 deletions
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index d3069a178..e5fb6fb4b 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -40,8 +40,6 @@
android:id="@+id/workspace"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:scrollbars="horizontal"
- android:fadeScrollbars="true"
launcher:defaultScreen="2">
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
@@ -52,9 +50,37 @@
</com.android.launcher2.Workspace>
+ <ImageView
+ android:id="@+id/previous_screen"
+ android:layout_width="53dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|left"
+ android:layout_marginLeft="6dip"
+
+ android:src="@drawable/home_arrows_left"
+
+ android:onClick="previousScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
+ <ImageView
+ android:id="@+id/next_screen"
+ android:layout_width="53dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|right"
+ android:layout_marginRight="6dip"
+
+ android:src="@drawable/home_arrows_right"
+
+ android:onClick="nextScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
<com.android.launcher2.HandleView
android:id="@+id/all_apps_button"
- android:layout_width="fill_parent"
+ android:layout_width="wrap_content"
android:layout_height="@dimen/button_bar_height"
android:layout_gravity="bottom|center_horizontal"
@@ -68,8 +94,8 @@
<com.android.launcher2.DeleteZone
android:id="@+id/delete_zone"
- android:layout_width="fill_parent"
- android:layout_height="49dip"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/button_bar_height"
android:layout_gravity="bottom|center_horizontal"
android:scaleType="center"