summaryrefslogtreecommitdiffstats
path: root/res/layout-port/hotseat.xml
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-08-30 17:03:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-30 17:03:09 -0700
commitde3fbbc832eaccf08c34fbd233f77fc9d4f77d1a (patch)
tree4ab2819e50b4edaf3d2d7ef7ec06fa2d0c6d9769 /res/layout-port/hotseat.xml
parent12d6f9446f4606078e5a67f9c240d24d1ad88ac3 (diff)
parent2b8e44577096a737b97c6687fc8ad1f067ea1e89 (diff)
downloadandroid_packages_apps_Trebuchet-de3fbbc832eaccf08c34fbd233f77fc9d4f77d1a.tar.gz
android_packages_apps_Trebuchet-de3fbbc832eaccf08c34fbd233f77fc9d4f77d1a.tar.bz2
android_packages_apps_Trebuchet-de3fbbc832eaccf08c34fbd233f77fc9d4f77d1a.zip
Merge "Tweaking grid spacing (5162387)"
Diffstat (limited to 'res/layout-port/hotseat.xml')
-rw-r--r--res/layout-port/hotseat.xml16
1 files changed, 9 insertions, 7 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>