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 --> |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 25 | <TabWidget |
| 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" |
| 35 | android:layout_height="@dimen/customization_drawer_content_height"> |
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" |
| 43 | launcher:cellCountX="@integer/customization_drawer_contents_cellCountX" |
| 44 | launcher:cellCountY="@integer/customization_drawer_contents_cellCountY" |
| 45 | launcher:pageLayoutWidthGap="@dimen/customization_drawer_contents_pageLayoutWidthGap" |
| 46 | launcher:pageLayoutHeightGap="12dp" |
| 47 | launcher:pageLayoutPaddingTop="40dp" |
| 48 | launcher:pageLayoutPaddingBottom="25dp" |
| 49 | launcher:pageLayoutPaddingLeft="20dp" |
| 50 | launcher:pageLayoutPaddingRight="20dp" /> |
Michael Jurka | 9c6fbed | 2011-03-02 17:41:34 -0800 | [diff] [blame] | 51 | </FrameLayout> |
| 52 | </LinearLayout> |
Michael Jurka | 7ef959b | 2011-02-23 11:48:32 -0800 | [diff] [blame] | 53 | </com.android.launcher2.CustomizeTrayTabHost> |