blob: 86d67e15f7858260d4a99ac70c9f65182c8726f1 [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 Chungb745afb2015-03-02 11:51:23 -080019<com.android.launcher3.AppsContainerView
20 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 Chungaa2ab252015-03-16 12:39:05 -070024 android:paddingTop="@dimen/apps_container_inset"
25 android:paddingBottom="@dimen/apps_container_inset"
Winson Chung93f98ea2015-03-10 16:28:47 -070026 android:background="@drawable/apps_customize_bg"
Winson Chungb745afb2015-03-02 11:51:23 -080027 android:descendantFocusability="afterDescendants">
28 <include
Winson Chungaa2ab252015-03-16 12:39:05 -070029 layout="@layout/apps_reveal_view"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:layout_gravity="center" />
Winson Chungb745afb2015-03-02 11:51:23 -080033 <include
Winson Chungaa2ab252015-03-16 12:39:05 -070034 layout="@layout/apps_list_view"
35 android:layout_width="match_parent"
36 android:layout_height="match_parent"
37 android:layout_gravity="center" />
Winson Chungb745afb2015-03-02 11:51:23 -080038</com.android.launcher3.AppsContainerView>