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" |
Winson Chung | 2d75f12 | 2013-09-23 16:53:31 -0700 | [diff] [blame^] | 19 | android:background="#80FFFFFF"> |
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 | c58497e | 2013-09-03 17:48:37 -0700 | [diff] [blame] | 33 | android:layout_gravity="center_horizontal" |
| 34 | android:visibility="gone"> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 35 | <com.android.launcher3.FocusOnlyTabWidget |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 36 | android:id="@android:id/tabs" |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 37 | android:layout_width="match_parent" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 38 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 39 | android:layout_gravity="center" |
| 40 | android:gravity="start" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 41 | android:background="@drawable/tab_unselected_holo" |
Winson Chung | 8ea7f6b | 2011-11-14 15:17:47 -0800 | [diff] [blame] | 42 | android:tabStripEnabled="false" |
| 43 | android:divider="@null" /> |
Winson Chung | c100e8e | 2011-08-09 16:02:43 -0700 | [diff] [blame] | 44 | <include |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 45 | android:id="@+id/market_button" |
Winson Chung | c100e8e | 2011-08-09 16:02:43 -0700 | [diff] [blame] | 46 | layout="@layout/market_button" |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 49 | android:layout_gravity="end" /> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 50 | </FrameLayout> |
| 51 | <FrameLayout |
| 52 | android:id="@android:id/tabcontent" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="match_parent"> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 55 | <com.android.launcher3.AppsCustomizePagedView |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 56 | android:id="@+id/apps_customize_pane_content" |
| 57 | android:layout_width="match_parent" |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 58 | android:layout_height="match_parent" |
Winson Chung | c58497e | 2013-09-03 17:48:37 -0700 | [diff] [blame] | 59 | android:layout_marginBottom="@dimen/apps_customize_page_indicator_offset" |
Winson Chung | 4b576be | 2011-04-27 17:40:20 -0700 | [diff] [blame] | 60 | launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" |
Winson Chung | db1138b | 2011-06-30 14:39:35 -0700 | [diff] [blame] | 61 | launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" |
Winson Chung | 7d7541e | 2011-09-16 20:14:36 -0700 | [diff] [blame] | 62 | launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" |
| 63 | launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 64 | launcher:maxGap="@dimen/workspace_max_gap" |
| 65 | launcher:pageIndicator="@+id/page_indicator" /> |
Michael Jurka | 141dbd0 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 66 | <FrameLayout |
Winson Chung | f314b0e | 2011-08-16 11:54:27 -0700 | [diff] [blame] | 67 | android:id="@+id/animation_buffer" |
| 68 | android:layout_width="match_parent" |
| 69 | android:layout_height="match_parent" |
Michael Jurka | 141dbd0 | 2011-11-03 13:50:45 -0700 | [diff] [blame] | 70 | android:background="#FF000000" |
Winson Chung | f314b0e | 2011-08-16 11:54:27 -0700 | [diff] [blame] | 71 | android:visibility="gone" /> |
Winson Chung | 649723c | 2011-07-06 20:41:23 -0700 | [diff] [blame] | 72 | <include |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 73 | android:id="@+id/page_indicator" |
| 74 | layout="@layout/page_indicator" |
Winson Chung | 007c698 | 2011-06-14 13:27:53 -0700 | [diff] [blame] | 75 | android:layout_width="wrap_content" |
| 76 | android:layout_height="wrap_content" |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 77 | android:layout_gravity="bottom|center_horizontal" |
| 78 | android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 79 | </FrameLayout> |
| 80 | </LinearLayout> |
| 81 | |
| 82 | <include layout="@layout/all_apps_cling" |
| 83 | android:id="@+id/all_apps_cling" |
| 84 | android:layout_width="match_parent" |
| 85 | android:layout_height="match_parent" |
| 86 | android:visibility="gone" /> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 87 | </com.android.launcher3.AppsCustomizeTabHost> |