blob: bf5f71b9006239e34afc2809ae54b3c3218880f1 [file] [log] [blame]
Winson Chung785d2eb2011-04-14 16:08:02 -07001<?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 Sandler325dc232013-06-05 22:57:57 -040016<com.android.launcher3.AppsCustomizeTabHost
Winson Chung785d2eb2011-04-14 16:08:02 -070017 xmlns:android="http://schemas.android.com/apk/res/android"
Adam Cohen63f1ec02014-08-12 09:23:13 -070018 xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
19 android:clipChildren="false">
Adam Cohen6c5891a2014-07-09 23:53:15 -070020
Winson Chung785d2eb2011-04-14 16:08:02 -070021 <LinearLayout
Adam Cohen6c5891a2014-07-09 23:53:15 -070022 android:id="@+id/content"
Winson Chung785d2eb2011-04-14 16:08:02 -070023 android:layout_width="match_parent"
Michael Jurka1899a362011-11-03 13:50:45 -070024 android:layout_height="match_parent"
Adam Cohen6c5891a2014-07-09 23:53:15 -070025 android:clipChildren="false"
26 android:orientation="vertical">
27
Adam Cohen9bfdb762014-07-21 17:44:06 -070028 <FrameLayout
Winson Chung785d2eb2011-04-14 16:08:02 -070029 android:layout_width="match_parent"
Adam Cohen6c5891a2014-07-09 23:53:15 -070030 android:layout_height="0dp"
Adam Cohen63f1ec02014-08-12 09:23:13 -070031 android:layout_weight="1"
32 android:clipChildren="false">
Adam Cohen9bfdb762014-07-21 17:44:06 -070033 <FrameLayout
34 android:id="@+id/fake_page_container"
35 android:layout_width="match_parent"
Adam Cohen63f1ec02014-08-12 09:23:13 -070036 android:layout_height="match_parent"
37 android:clipChildren="false"
38 android:clipToPadding="false">
Adam Cohen9bfdb762014-07-21 17:44:06 -070039 <FrameLayout
Adam Cohen63f1ec02014-08-12 09:23:13 -070040 android:id="@+id/fake_page"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
Adam Cohena00673c2014-08-14 12:57:28 -070043 android:visibility="invisible"
Adam Cohen63f1ec02014-08-12 09:23:13 -070044 android:clipToPadding="false" />
Adam Cohen9bfdb762014-07-21 17:44:06 -070045 </FrameLayout>
46 <com.android.launcher3.AppsCustomizePagedView
47 android:id="@+id/apps_customize_pane_content"
48 android:layout_width="match_parent"
49 android:layout_height="match_parent"
50 launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x"
51 launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y"
Adam Cohen9bfdb762014-07-21 17:44:06 -070052 launcher:maxGap="@dimen/workspace_max_gap"
53 launcher:pageIndicator="@+id/apps_customize_page_indicator" />
54 </FrameLayout>
Adam Cohen6c5891a2014-07-09 23:53:15 -070055 <include
56 android:id="@+id/apps_customize_page_indicator"
57 layout="@layout/page_indicator"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:layout_gravity="center" />
Winson Chung82f55532011-08-09 14:14:23 -070061 </LinearLayout>
Daniel Sandler325dc232013-06-05 22:57:57 -040062</com.android.launcher3.AppsCustomizeTabHost>