summaryrefslogtreecommitdiffstats
path: root/res/layout-port
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-port
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-port')
-rw-r--r--res/layout-port/hotseat.xml16
-rw-r--r--res/layout-port/launcher.xml6
2 files changed, 11 insertions, 11 deletions
diff --git a/res/layout-port/hotseat.xml b/res/layout-port/hotseat.xml
index 19da94480..ee59a6ab8 100644
--- a/res/layout-port/hotseat.xml
+++ b/res/layout-port/hotseat.xml
@@ -16,19 +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="5"
launcher:cellCountY="1">
<com.android.launcher2.CellLayout
android:id="@+id/layout"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:paddingTop="@dimen/button_bar_height_padding"
- android:paddingLeft="@dimen/workspace_left_padding"
- android:paddingRight="@dimen/workspace_right_padding"
+ android:layout_gravity="center"
+ android:paddingTop="@dimen/button_bar_height_top_padding"
+ android:paddingBottom="@dimen/button_bar_height_bottom_padding"
+ android:paddingLeft="@dimen/button_bar_width_left_padding"
+ android:paddingRight="@dimen/button_bar_width_right_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-port/launcher.xml b/res/layout-port/launcher.xml
index 1bd8d7c21..b45800ef5 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -67,11 +67,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="match_parent"
- android:layout_height="@dimen/qsb_bar_height"
- android:layout_gravity="top" />
+ layout="@layout/qsb_bar" />
<include layout="@layout/apps_customize_pane"
android:id="@+id/apps_customize_pane"