2015-04-09 10:01:34 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-10-11 06:21:15 +08:00
|
|
|
<!-- Copyright (C) 2017 The Android Open Source Project
|
2015-04-09 10:01:34 +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.
|
|
|
|
-->
|
2017-10-11 06:21:15 +08:00
|
|
|
<com.android.launcher3.widget.WidgetsFullSheet
|
2015-04-09 10:01:34 +08:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-11 06:21:15 +08:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:theme="?attr/widgetsTheme" >
|
2015-04-09 10:01:34 +08:00
|
|
|
|
2018-02-14 08:18:19 +08:00
|
|
|
<com.android.launcher3.views.TopRoundedCornerView
|
2017-10-11 06:21:15 +08:00
|
|
|
android:id="@+id/container"
|
2017-06-24 07:12:50 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-11 06:21:15 +08:00
|
|
|
android:background="?android:attr/colorPrimary"
|
|
|
|
android:elevation="4dp">
|
2016-02-20 01:34:09 +08:00
|
|
|
|
|
|
|
<com.android.launcher3.widget.WidgetsRecyclerView
|
|
|
|
android:id="@+id/widgets_list_view"
|
|
|
|
android:layout_width="match_parent"
|
2017-10-11 06:21:15 +08:00
|
|
|
android:layout_height="match_parent"
|
2018-03-10 03:09:20 +08:00
|
|
|
android:clipToPadding="false" />
|
2016-05-20 00:16:41 +08:00
|
|
|
|
2016-10-09 08:43:48 +08:00
|
|
|
<!-- Fast scroller popup -->
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fast_scroller_popup"
|
2017-06-24 07:12:50 +08:00
|
|
|
style="@style/FastScrollerPopup"
|
2018-03-10 03:09:20 +08:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2017-06-15 06:35:16 +08:00
|
|
|
android:layout_marginEnd="@dimen/fastscroll_popup_margin" />
|
2016-10-09 08:43:48 +08:00
|
|
|
|
2017-06-24 07:12:50 +08:00
|
|
|
<com.android.launcher3.views.RecyclerViewFastScroller
|
|
|
|
android:id="@+id/fast_scroller"
|
|
|
|
android:layout_width="@dimen/fastscroll_width"
|
|
|
|
android:layout_height="match_parent"
|
2018-03-10 03:09:20 +08:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2017-06-24 07:12:50 +08:00
|
|
|
android:layout_marginEnd="@dimen/fastscroll_end_margin" />
|
2018-02-14 08:18:19 +08:00
|
|
|
</com.android.launcher3.views.TopRoundedCornerView>
|
2017-10-11 06:21:15 +08:00
|
|
|
</com.android.launcher3.widget.WidgetsFullSheet>
|