Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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 | --> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 16 | <com.android.launcher3.AppsCustomizeTabHost |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 18 | xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" |
Michael Jurka | 7bdb25a | 2011-08-03 15:16:44 -0700 | [diff] [blame] | 19 | android:background="#FF000000"> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 20 | <LinearLayout |
Michael Jurka | 1899a36 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 21 | android:id="@+id/apps_customize_content" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 22 | android:orientation="vertical" |
| 23 | android:layout_width="match_parent" |
Michael Jurka | 1899a36 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 24 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 25 | android:visibility="gone"> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 26 | <!-- The layout_width of the tab bar gets overriden to align the content |
| 27 | with the text in the tabs in AppsCustomizeTabHost. --> |
| 28 | <FrameLayout |
Winson Chung | fd3385f | 2011-06-15 19:51:24 -0700 | [diff] [blame] | 29 | android:id="@+id/tabs_container" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 30 | android:layout_width="wrap_content" |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 31 | android:layout_height="@dimen/apps_customize_tab_bar_height" |
Winson Chung | 8ea7f6b | 2011-11-14 15:17:47 -0800 | [diff] [blame] | 32 | android:layout_marginTop="@dimen/apps_customize_tab_bar_margin_top" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 33 | android:layout_gravity="center_horizontal"> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 34 | <com.android.launcher3.FocusOnlyTabWidget |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 35 | android:id="@android:id/tabs" |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 36 | android:layout_width="match_parent" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 37 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 38 | android:layout_gravity="center" |
| 39 | android:gravity="start" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 40 | android:background="@drawable/tab_unselected_holo" |
Winson Chung | 8ea7f6b | 2011-11-14 15:17:47 -0800 | [diff] [blame] | 41 | android:tabStripEnabled="false" |
| 42 | android:divider="@null" /> |
Winson Chung | c100e8e | 2011-08-09 16:02:43 -0700 | [diff] [blame] | 43 | <include |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 44 | android:id="@+id/market_button" |
Winson Chung | c100e8e | 2011-08-09 16:02:43 -0700 | [diff] [blame] | 45 | layout="@layout/market_button" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 48 | android:layout_gravity="end" /> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 49 | </FrameLayout> |
| 50 | <FrameLayout |
| 51 | android:id="@android:id/tabcontent" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="match_parent"> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 54 | <com.android.launcher3.AppsCustomizePagedView |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 55 | android:id="@+id/apps_customize_pane_content" |
| 56 | android:layout_width="match_parent" |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 57 | android:layout_height="match_parent" |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame^] | 58 | android:layout_marginBottom="@dimen/apps_customize_page_indicator_height" |
Adam Cohen | 7d30a37 | 2013-07-01 17:03:59 -0700 | [diff] [blame] | 59 | android:layout_gravity="center" |
Winson Chung | 6032e7e | 2011-11-08 15:47:17 -0800 | [diff] [blame] | 60 | launcher:maxAppCellCountX="@integer/apps_customize_maxCellCountX" |
| 61 | launcher:maxAppCellCountY="@integer/apps_customize_maxCellCountY" |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 62 | launcher:pageLayoutWidthGap="@dimen/apps_customize_pageLayoutWidthGap" |
| 63 | launcher:pageLayoutHeightGap="@dimen/apps_customize_pageLayoutHeightGap" |
| 64 | launcher:pageLayoutPaddingTop="@dimen/apps_customize_pageLayoutPaddingTop" |
| 65 | launcher:pageLayoutPaddingBottom="@dimen/apps_customize_pageLayoutPaddingBottom" |
| 66 | launcher:pageLayoutPaddingLeft="@dimen/apps_customize_pageLayoutPaddingLeft" |
| 67 | launcher:pageLayoutPaddingRight="@dimen/apps_customize_pageLayoutPaddingRight" |
Winson Chung | 4b576be | 2011-04-27 17:40:20 -0700 | [diff] [blame] | 68 | launcher:widgetCellWidthGap="@dimen/apps_customize_widget_cell_width_gap" |
| 69 | launcher:widgetCellHeightGap="@dimen/apps_customize_widget_cell_height_gap" |
| 70 | launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" |
Winson Chung | db1138b | 2011-06-30 14:39:35 -0700 | [diff] [blame] | 71 | launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" |
Winson Chung | 7d7541e | 2011-09-16 20:14:36 -0700 | [diff] [blame] | 72 | launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" |
| 73 | launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame^] | 74 | launcher:maxGap="@dimen/workspace_max_gap" |
| 75 | launcher:pageIndicator="@+id/page_indicator" /> |
Michael Jurka | 141dbd0 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 76 | <FrameLayout |
Winson Chung | f314b0e | 2011-08-16 11:54:27 -0700 | [diff] [blame] | 77 | android:id="@+id/animation_buffer" |
| 78 | android:layout_width="match_parent" |
| 79 | android:layout_height="match_parent" |
Michael Jurka | 141dbd0 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 80 | android:background="#FF000000" |
Winson Chung | f314b0e | 2011-08-16 11:54:27 -0700 | [diff] [blame] | 81 | android:visibility="gone" /> |
Winson Chung | 649723c | 2011-07-06 20:41:23 -0700 | [diff] [blame] | 82 | <include |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame^] | 83 | android:id="@+id/page_indicator" |
| 84 | layout="@layout/page_indicator" |
Winson Chung | 007c698 | 2011-06-14 13:27:53 -0700 | [diff] [blame] | 85 | android:layout_width="wrap_content" |
| 86 | android:layout_height="wrap_content" |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame^] | 87 | android:layout_gravity="bottom|center_horizontal" |
| 88 | android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 89 | </FrameLayout> |
| 90 | </LinearLayout> |
| 91 | |
| 92 | <include layout="@layout/all_apps_cling" |
| 93 | android:id="@+id/all_apps_cling" |
| 94 | android:layout_width="match_parent" |
| 95 | android:layout_height="match_parent" |
| 96 | android:visibility="gone" /> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 97 | </com.android.launcher3.AppsCustomizeTabHost> |