blob: 0c59a3f96c8037f68fdcc7a45593fa6636a10dd4 [file] [log] [blame]
Michael Jurka9c6fbed2011-03-02 17:41:34 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Michael Jurka7ef959b2011-02-23 11:48:32 -080016<com.android.launcher2.CustomizeTrayTabHost
17 xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher">
Michael Jurka9c6fbed2011-03-02 17:41:34 -080019 <LinearLayout
20 android:orientation="vertical"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
Michael Jurka7ef959b2011-02-23 11:48:32 -080023 <!-- The layout_width of this RelativeLayout gets overwritten in
24 CustomizeTrayTabHost.onFinishInflate -->
Winson Chung97d85d22011-04-13 11:27:36 -070025 <com.android.launcher2.FocusOnlyTabWidget
Michael Jurka9c6fbed2011-03-02 17:41:34 -080026 android:id="@android:id/tabs"
Michael Jurka7ef959b2011-02-23 11:48:32 -080027 android:layout_width="wrap_content"
Michael Jurka9c6fbed2011-03-02 17:41:34 -080028 android:layout_height="wrap_content"
29 android:layout_gravity="center_horizontal"
30 android:background="@drawable/tab_unselected_holo"
31 android:tabStripEnabled="false" />
32 <FrameLayout
33 android:id="@android:id/tabcontent"
34 android:layout_width="match_parent"
Michael Jurka36fcb742011-04-06 17:08:58 -070035 android:layout_height="match_parent">
Michael Jurka7ef959b2011-02-23 11:48:32 -080036 <com.android.launcher2.CustomizePagedView
37 android:id="@+id/customization_drawer_tab_contents"
38 android:layout_width="match_parent"
39 android:layout_height="match_parent"
40 launcher:wallpaperCellSpanX="@integer/customization_drawer_contents_wallpaperCellSpanX"
41 launcher:wallpaperCellCountX="@integer/customization_drawer_contents_wallpaperCellCountX"
42 launcher:widgetCellCountX="@integer/customization_drawer_contents_widgetCellCountX"
Michael Jurka7ef959b2011-02-23 11:48:32 -080043 launcher:pageLayoutWidthGap="@dimen/customization_drawer_contents_pageLayoutWidthGap"
Patrick Dubroy4a5ad092011-05-23 16:15:09 -070044 launcher:pageLayoutHeightGap="@dimen/customization_drawer_contents_pageLayoutHeightGap"
45 launcher:pageLayoutPaddingTop="@dimen/customization_drawer_contents_pageLayoutPaddingTop"
46 launcher:pageLayoutPaddingBottom="@dimen/customization_drawer_contents_pageLayoutPaddingBottom"
47 launcher:pageLayoutPaddingLeft="@dimen/customization_drawer_contents_pageLayoutPaddingLeft"
48 launcher:pageLayoutPaddingRight="@dimen/customization_drawer_contents_pageLayoutPaddingRight" />
Michael Jurka9c6fbed2011-03-02 17:41:34 -080049 </FrameLayout>
50 </LinearLayout>
Michael Jurka7ef959b2011-02-23 11:48:32 -080051</com.android.launcher2.CustomizeTrayTabHost>