blob: 1bf54eefba051a759c697bf18a8fc03c786a0338 [file] [log] [blame]
Winson Chungb745afb2015-03-02 11:51:23 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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-->
Winson Chungaa2ab252015-03-16 12:39:05 -070016<!-- The top and bottom paddings are defined in this container, but since we want
17 the list view to span the full width (for touch interception purposes), we
18 will bake the left/right padding into that view's background itself. -->
Winson Chung5f4e0fd2015-05-22 11:12:27 -070019<com.android.launcher3.allapps.AllAppsContainerView
Winson Chungb745afb2015-03-02 11:51:23 -080020 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/apps_view"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent"
Winson Chungef7f8742015-06-04 17:18:17 -070024 android:orientation="vertical">
25
26 <!-- Both android:focusable and android:focusableInTouchMode are needed for
27 the view to get focus change events. -->
28 <FrameLayout
29 android:id="@+id/search_box_container"
Winson Chungaa2ab252015-03-16 12:39:05 -070030 android:layout_width="match_parent"
Winson Chungef7f8742015-06-04 17:18:17 -070031 android:layout_height="wrap_content"
32 android:focusable="true"
33 android:focusableInTouchMode="true"
34 android:visibility="gone" />
35
36 <FrameLayout
37 android:id="@+id/content"
Winson Chungaa2ab252015-03-16 12:39:05 -070038 android:layout_width="match_parent"
Winson Chungef7f8742015-06-04 17:18:17 -070039 android:layout_height="0dp"
40 android:layout_weight="1">
41 <FrameLayout
42 android:id="@+id/all_apps_reveal"
43 android:layout_width="match_parent"
44 android:layout_height="match_parent"
45 android:layout_gravity="center"
46 android:focusable="false"
47 android:elevation="2dp"
48 android:visibility="invisible" />
49 <include
50 layout="@layout/all_apps_container"
51 android:id="@+id/all_apps_container"
52 android:layout_width="match_parent"
53 android:layout_height="match_parent"
54 android:layout_gravity="center"
55 android:visibility="gone" />
56 </FrameLayout>
Winson Chung5f4e0fd2015-05-22 11:12:27 -070057</com.android.launcher3.allapps.AllAppsContainerView>