Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 1 | <?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 Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 16 | <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 Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 19 | <LinearLayout |
| 20 | android:orientation="vertical" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent"> |
Michael Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 23 | <!-- The layout_width of this RelativeLayout gets overwritten in |
| 24 | CustomizeTrayTabHost.onFinishInflate --> |
Winson Chung | 97d85d2 | 2011-04-13 11:27:36 -0700 | [diff] [blame] | 25 | <com.android.launcher2.FocusOnlyTabWidget |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 26 | android:id="@android:id/tabs" |
Michael Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 27 | android:layout_width="wrap_content" |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 28 | 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 Jurka | 36fcb74 | 2011-04-06 17:08:58 -0700 | [diff] [blame] | 35 | android:layout_height="match_parent"> |
Michael Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 36 | <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 Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 43 | launcher:pageLayoutWidthGap="@dimen/customization_drawer_contents_pageLayoutWidthGap" |
Patrick Dubroy | 4a5ad09 | 2011-05-23 16:15:09 -0700 | [diff] [blame^] | 44 | 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 Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 49 | </FrameLayout> |
| 50 | </LinearLayout> |
Michael Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 51 | </com.android.launcher2.CustomizeTrayTabHost> |