2015-03-02 11:51:23 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-05-13 17:40:42 -07:00
|
|
|
<!--
|
|
|
|
|
Copyright (C) 2015 The Android Open Source Project
|
2015-03-02 11:51:23 -08:00
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
-->
|
2015-06-04 17:18:17 -07:00
|
|
|
<!-- Both android:focusable and android:focusableInTouchMode are needed for
|
|
|
|
|
the view to get focus change events. -->
|
2015-05-22 11:12:27 -07:00
|
|
|
<com.android.launcher3.allapps.AllAppsRecyclerViewContainerView
|
2015-05-14 19:24:40 -07:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-03-02 11:51:23 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:elevation="15dp"
|
2015-06-04 17:18:17 -07:00
|
|
|
android:focusable="true"
|
|
|
|
|
android:focusableInTouchMode="true">
|
2015-05-13 17:40:42 -07:00
|
|
|
|
2015-06-18 15:05:56 -07:00
|
|
|
<!-- DO NOT CHANGE THE ID -->
|
2015-05-22 11:12:27 -07:00
|
|
|
<com.android.launcher3.allapps.AllAppsRecyclerView
|
2015-06-18 15:05:56 -07:00
|
|
|
android:id="@+id/apps_list_view"
|
2015-06-22 19:48:07 -07:00
|
|
|
android:theme="@style/Theme.Light.CustomOverscroll"
|
2015-05-12 19:05:30 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
|
android:clipToPadding="false"
|
2015-06-04 17:18:17 -07:00
|
|
|
android:focusable="true"
|
|
|
|
|
android:descendantFocusability="afterDescendants" />
|
2015-05-13 17:40:42 -07:00
|
|
|
|
2015-05-12 19:05:30 -07:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/prediction_bar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-06-16 13:35:04 -07:00
|
|
|
android:paddingTop="@dimen/all_apps_prediction_bar_top_padding"
|
|
|
|
|
android:paddingBottom="@dimen/all_apps_prediction_bar_bottom_padding"
|
2015-05-12 19:05:30 -07:00
|
|
|
android:orientation="horizontal"
|
2015-05-20 15:03:13 -07:00
|
|
|
android:focusable="true"
|
2015-06-04 17:18:17 -07:00
|
|
|
android:descendantFocusability="afterDescendants"
|
2015-05-13 17:40:42 -07:00
|
|
|
android:visibility="invisible" >
|
2015-05-12 19:05:30 -07:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2015-05-22 11:12:27 -07:00
|
|
|
</com.android.launcher3.allapps.AllAppsRecyclerViewContainerView>
|