blob: 03e433ac93374c1d5e813a36be70ad1ca3e26958 [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 Cohen6c5891a2014-07-09 23:53:15 -070018 xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
19
Winson Chung785d2eb2011-04-14 16:08:02 -070020 <LinearLayout
Adam Cohen6c5891a2014-07-09 23:53:15 -070021 android:id="@+id/content"
Winson Chung785d2eb2011-04-14 16:08:02 -070022 android:layout_width="match_parent"
Michael Jurka1899a362011-11-03 13:50:45 -070023 android:layout_height="match_parent"
Adam Cohen6c5891a2014-07-09 23:53:15 -070024 android:clipChildren="false"
25 android:orientation="vertical">
26
Adam Cohen9bfdb762014-07-21 17:44:06 -070027 <FrameLayout
Winson Chung785d2eb2011-04-14 16:08:02 -070028 android:layout_width="match_parent"
Adam Cohen6c5891a2014-07-09 23:53:15 -070029 android:layout_height="0dp"
Adam Cohen9bfdb762014-07-21 17:44:06 -070030 android:layout_weight="1">
31 <FrameLayout
32 android:id="@+id/fake_page_container"
33 android:layout_width="match_parent"
34 android:layout_height="match_parent" >
35 <FrameLayout
36 android:id="@+id/fake_page"
37 android:layout_width="match_parent"
38 android:layout_height="match_parent" />
39 </FrameLayout>
40 <com.android.launcher3.AppsCustomizePagedView
41 android:id="@+id/apps_customize_pane_content"
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
44 launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x"
45 launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y"
46 launcher:clingFocusedX="@integer/apps_customize_cling_focused_x"
47 launcher:clingFocusedY="@integer/apps_customize_cling_focused_y"
48 launcher:maxGap="@dimen/workspace_max_gap"
49 launcher:pageIndicator="@+id/apps_customize_page_indicator" />
50 </FrameLayout>
Adam Cohen6c5891a2014-07-09 23:53:15 -070051 <include
52 android:id="@+id/apps_customize_page_indicator"
53 layout="@layout/page_indicator"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_gravity="center" />
Winson Chung82f55532011-08-09 14:14:23 -070057 </LinearLayout>
Adam Cohen6c5891a2014-07-09 23:53:15 -070058
59 <include
60 android:id="@+id/market_button"
61 layout="@layout/market_button"
62 android:layout_width="wrap_content"
63 android:layout_height="match_parent"
64 android:layout_gravity="end"
65 android:visibility="gone"/>
66
Daniel Sandler325dc232013-06-05 22:57:57 -040067</com.android.launcher3.AppsCustomizeTabHost>