Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 1 | <?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 Chung | aa2ab25 | 2015-03-16 12:39:05 -0700 | [diff] [blame^] | 16 | <!-- 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 Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 19 | <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 Chung | aa2ab25 | 2015-03-16 12:39:05 -0700 | [diff] [blame^] | 24 | android:paddingTop="@dimen/apps_container_inset" |
| 25 | android:paddingBottom="@dimen/apps_container_inset" |
Winson Chung | 93f98ea | 2015-03-10 16:28:47 -0700 | [diff] [blame] | 26 | android:background="@drawable/apps_customize_bg" |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 27 | android:descendantFocusability="afterDescendants"> |
| 28 | <include |
Winson Chung | aa2ab25 | 2015-03-16 12:39:05 -0700 | [diff] [blame^] | 29 | layout="@layout/apps_reveal_view" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent" |
| 32 | android:layout_gravity="center" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 33 | <include |
Winson Chung | aa2ab25 | 2015-03-16 12:39:05 -0700 | [diff] [blame^] | 34 | layout="@layout/apps_list_view" |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="match_parent" |
| 37 | android:layout_gravity="center" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 38 | </com.android.launcher3.AppsContainerView> |