summaryrefslogtreecommitdiffstats
path: root/res/layout-xlarge-port
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-10-28 16:07:04 -0700
committerWinson Chung <winsonc@google.com>2010-11-01 16:10:49 -0700
commit7da1025bd7f15b04cf55c79b73e94e5e1bc959d9 (patch)
treef0c20ed38a4db0ee27d0d67b9618fb9a9a0cc777 /res/layout-xlarge-port
parent30110328a249a049673266bfce39ca9dcf650af9 (diff)
downloadpackages_apps_trebuchet-7da1025bd7f15b04cf55c79b73e94e5e1bc959d9.zip
packages_apps_trebuchet-7da1025bd7f15b04cf55c79b73e94e5e1bc959d9.tar.gz
packages_apps_trebuchet-7da1025bd7f15b04cf55c79b73e94e5e1bc959d9.tar.bz2
Layout and spacing changes for AllApps/Customization drawer
- Also fixing issue where preview images in the customization drawer were not being scaled down Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
Diffstat (limited to 'res/layout-xlarge-port')
-rw-r--r--res/layout-xlarge-port/all_apps_tabbed.xml8
-rw-r--r--res/layout-xlarge-port/customization_drawer.xml6
-rw-r--r--res/layout-xlarge-port/launcher.xml15
3 files changed, 14 insertions, 15 deletions
diff --git a/res/layout-xlarge-port/all_apps_tabbed.xml b/res/layout-xlarge-port/all_apps_tabbed.xml
index d61c979..65e3729 100644
--- a/res/layout-xlarge-port/all_apps_tabbed.xml
+++ b/res/layout-xlarge-port/all_apps_tabbed.xml
@@ -15,17 +15,17 @@
-->
<com.android.launcher2.AllAppsTabbed
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
- android:paddingTop="?android:attr/actionBarSize">
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TabWidget
android:id="@android:id/tabs"
- android:layout_width="wrap_content"
+ android:layout_width="700dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
+ android:background="@drawable/tab_unselected_holo"
android:tabStripEnabled="false" />
<FrameLayout
android:id="@android:id/tabcontent"
@@ -39,7 +39,7 @@
launcher:cellCountY="7"
launcher:pageLayoutWidthGap="36dp"
launcher:pageLayoutHeightGap="36dp"
- launcher:pageLayoutPaddingTop="0dp"
+ launcher:pageLayoutPaddingTop="25dp"
launcher:pageLayoutPaddingBottom="10dp"
launcher:pageLayoutPaddingLeft="20dp"
launcher:pageLayoutPaddingRight="20dp">
diff --git a/res/layout-xlarge-port/customization_drawer.xml b/res/layout-xlarge-port/customization_drawer.xml
index d3ca457..28127ea 100644
--- a/res/layout-xlarge-port/customization_drawer.xml
+++ b/res/layout-xlarge-port/customization_drawer.xml
@@ -21,10 +21,10 @@
android:layout_height="match_parent"
launcher:widgetCellCountX="10"
launcher:cellCountX="5"
- launcher:cellCountY="5"
+ launcher:cellCountY="3"
launcher:pageLayoutWidthGap="36dp"
- launcher:pageLayoutHeightGap="36dp"
- launcher:pageLayoutPaddingTop="25dp"
+ launcher:pageLayoutHeightGap="12dp"
+ launcher:pageLayoutPaddingTop="40dp"
launcher:pageLayoutPaddingBottom="25dp"
launcher:pageLayoutPaddingLeft="20dp"
launcher:pageLayoutPaddingRight="20dp" />
diff --git a/res/layout-xlarge-port/launcher.xml b/res/layout-xlarge-port/launcher.xml
index 20debca..13b69fe 100644
--- a/res/layout-xlarge-port/launcher.xml
+++ b/res/layout-xlarge-port/launcher.xml
@@ -26,7 +26,7 @@
layout="@layout/all_apps_tabbed"
android:id="@+id/all_apps_view"
android:layout_width="match_parent"
- android:layout_height="1040dip"
+ android:layout_height="1040dp"
android:layout_gravity="top"/>
<!-- The workspace contains 5 screens of cells -->
@@ -38,7 +38,7 @@
launcher:defaultScreen="2"
launcher:cellCountX="8"
launcher:cellCountY="7"
- launcher:pageSpacing="64dip">
+ launcher:pageSpacing="64dp">
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />
@@ -86,7 +86,7 @@
android:layout_toLeftOf="@id/configure_button"
android:layout_marginLeft="@dimen/toolbar_button_spacing"
android:layout_marginRight="@dimen/toolbar_button_spacing"
- android:textSize="18dip"
+ android:textSize="18dp"
android:onClick="onClickAllAppsButton"
android:focusable="true"
@@ -131,20 +131,19 @@
<TabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
- android:layout_height="800dip"
+ android:layout_height="800dp"
android:layout_gravity="bottom">
<LinearLayout
android:orientation="vertical"
- android:background="#40000000"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TabWidget
android:id="@android:id/tabs"
- android:layout_width="wrap_content"
+ android:layout_width="700dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:tabStripEnabled="false"
- android:paddingBottom="10dp" />
+ android:background="@drawable/tab_unselected_holo"
+ android:tabStripEnabled="false" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"