blob: 2273a20611c846f9375887e4c24986a1c00350d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!-- we use a parallel view for the background rather than just setting a background on the
recycler view for a nicer return transition. i.e. we want the background to fade and the
list to slide out separately -->
<View
android:id="@+id/kau_recycler_detached_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:colorBackground" />
<!--defaults to a LinearLayoutManager-->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/kau_recycler_detached"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingBottom="@dimen/kau_spacing_normal"
android:scrollbars="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</FrameLayout>
|