1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2017 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--> 16<com.android.launcher3.widget.WidgetsFullSheet 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical" 21 android:theme="?attr/widgetsTheme" > 22 23 <com.android.launcher3.views.TopRoundedCornerView 24 android:id="@+id/container" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:background="?android:attr/colorPrimary" 28 android:elevation="4dp"> 29 30 <com.android.launcher3.widget.WidgetsRecyclerView 31 android:id="@+id/widgets_list_view" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:clipToPadding="false" /> 35 36 <!-- Fast scroller popup --> 37 <TextView 38 android:id="@+id/fast_scroller_popup" 39 style="@style/FastScrollerPopup" 40 android:layout_alignParentEnd="true" 41 android:layout_alignParentTop="true" 42 android:layout_marginEnd="@dimen/fastscroll_popup_margin" /> 43 44 <com.android.launcher3.views.RecyclerViewFastScroller 45 android:id="@+id/fast_scroller" 46 android:layout_width="@dimen/fastscroll_width" 47 android:layout_height="match_parent" 48 android:layout_alignParentEnd="true" 49 android:layout_alignParentTop="true" 50 android:layout_marginEnd="@dimen/fastscroll_end_margin" /> 51 </com.android.launcher3.views.TopRoundedCornerView> 52</com.android.launcher3.widget.WidgetsFullSheet>