summaryrefslogtreecommitdiffstats
path: root/res/layout-xlarge-port
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-09-23 18:40:29 -0700
committerWinson Chung <winsonc@google.com>2010-09-24 11:09:38 -0700
commit5ffd8eafeb2ef0554ecb38f6e81cf48b674856d9 (patch)
treee9f75a95a342d5d5e86364a6a7954f96273a7a60 /res/layout-xlarge-port
parentdea9e93e4a7b78ae48f27ac0d5d117f6b393bba0 (diff)
downloadpackages_apps_trebuchet-5ffd8eafeb2ef0554ecb38f6e81cf48b674856d9.zip
packages_apps_trebuchet-5ffd8eafeb2ef0554ecb38f6e81cf48b674856d9.tar.gz
packages_apps_trebuchet-5ffd8eafeb2ef0554ecb38f6e81cf48b674856d9.tar.bz2
Initial changes to add Applications tab in the customization drawer for usability testing.
- Also adding padding attributes for the dynamic layouts created for each page. Change-Id: I76a7b6b8f4d83329c506fd6055f910575d0c200f
Diffstat (limited to 'res/layout-xlarge-port')
-rw-r--r--res/layout-xlarge-port/all_apps_tabbed.xml49
-rw-r--r--res/layout-xlarge-port/customization_drawer.xml8
2 files changed, 56 insertions, 1 deletions
diff --git a/res/layout-xlarge-port/all_apps_tabbed.xml b/res/layout-xlarge-port/all_apps_tabbed.xml
new file mode 100644
index 0000000..2ff0447
--- /dev/null
+++ b/res/layout-xlarge-port/all_apps_tabbed.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<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:background="#30000000"
+ android:paddingTop="?android:attr/actionBarSize">
+ <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_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:tabStripEnabled="false"
+ android:paddingBottom="10dp" />
+ <FrameLayout
+ android:id="@android:id/tabcontent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <com.android.launcher2.AllAppsPagedView
+ android:id="@+id/all_apps_paged_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ launcher:cellCountX="7"
+ launcher:cellCountY="4"
+ launcher:pageLayoutPaddingTop="10dp"
+ launcher:pageLayoutPaddingBottom="10dp"
+ launcher:pageLayoutPaddingLeft="0dp"
+ launcher:pageLayoutPaddingRight="0dp">
+ </com.android.launcher2.AllAppsPagedView>
+ </FrameLayout>
+ </LinearLayout>
+</com.android.launcher2.AllAppsTabbed>
diff --git a/res/layout-xlarge-port/customization_drawer.xml b/res/layout-xlarge-port/customization_drawer.xml
index 6e4bc4c..db264b2 100644
--- a/res/layout-xlarge-port/customization_drawer.xml
+++ b/res/layout-xlarge-port/customization_drawer.xml
@@ -19,4 +19,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
- launcher:widgetCellCountX="12" /> \ No newline at end of file
+ launcher:widgetCellCountX="12"
+ launcher:cellCountX="7"
+ launcher:cellCountY="4"
+ launcher:pageLayoutPaddingTop="10dp"
+ launcher:pageLayoutPaddingBottom="15dp"
+ launcher:pageLayoutPaddingLeft="0dp"
+ launcher:pageLayoutPaddingRight="0dp" /> \ No newline at end of file