summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-08-26 18:12:08 -0700
committerWinson Chung <winsonc@google.com>2011-08-29 14:52:46 -0700
commit2b8e44577096a737b97c6687fc8ad1f067ea1e89 (patch)
tree9c97676928fd13b6c410badcbeb6c1f97eb5749a /res/layout-land
parent725a301a7107e43f1995449c5b96d5cb76dbbe8a (diff)
downloadandroid_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.tar.gz
android_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.tar.bz2
android_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.zip
Tweaking grid spacing (5162387)
Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/hotseat.xml17
-rw-r--r--res/layout-land/launcher.xml8
2 files changed, 13 insertions, 12 deletions
diff --git a/res/layout-land/hotseat.xml b/res/layout-land/hotseat.xml
index dca30bf3f..f6d234709 100644
--- a/res/layout-land/hotseat.xml
+++ b/res/layout-land/hotseat.xml
@@ -16,18 +16,21 @@
<com.android.launcher2.Hotseat
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
- android:background="@drawable/hotseat_bg_panel"
launcher:cellCountX="1"
launcher:cellCountY="5">
<com.android.launcher2.CellLayout
android:id="@+id/layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="@dimen/workspace_top_padding"
- android:paddingBottom="@dimen/workspace_bottom_padding"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:paddingTop="@dimen/button_bar_width_left_padding"
+ android:paddingBottom="@dimen/button_bar_width_right_padding"
+ android:paddingLeft="@dimen/button_bar_height_top_padding"
+ android:paddingRight="@dimen/button_bar_height_bottom_padding"
+
launcher:cellWidth="@dimen/hotseat_cell_width"
launcher:cellHeight="@dimen/hotseat_cell_height"
- launcher:widthGap="-1dp"
- launcher:heightGap="-1dp"
+ launcher:widthGap="@dimen/hotseat_width_gap"
+ launcher:heightGap="@dimen/hotseat_height_gap"
launcher:maxGap="@dimen/workspace_max_gap" />
</com.android.launcher2.Hotseat>
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml
index 5af49a2d7..2b25bbb70 100644
--- a/res/layout-land/launcher.xml
+++ b/res/layout-land/launcher.xml
@@ -66,11 +66,9 @@
<include android:id="@+id/cell5" layout="@layout/workspace_screen" />
</com.android.launcher2.Workspace>
- <include layout="@layout/qsb_bar"
+ <include
android:id="@+id/qsb_bar"
- android:layout_width="@dimen/qsb_bar_height"
- android:layout_height="match_parent"
- android:layout_gravity="left" />
+ layout="@layout/qsb_bar" />
<include layout="@layout/apps_customize_pane"
android:id="@+id/apps_customize_pane"
@@ -80,7 +78,7 @@
<include layout="@layout/hotseat"
android:id="@+id/hotseat"
- android:layout_width="@dimen/button_bar_height"
+ android:layout_width="@dimen/button_bar_height_plus_padding"
android:layout_height="match_parent"
android:layout_gravity="right" />