summaryrefslogtreecommitdiffstats
path: root/res/layout-land/hotseat.xml
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/hotseat.xml
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/hotseat.xml')
-rw-r--r--res/layout-land/hotseat.xml17
1 files changed, 10 insertions, 7 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>