48 lines
1.6 KiB
XML
48 lines
1.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:id="@+id/swiper"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false"
|
||
|
style="@style/AppTheme.Fragment">
|
||
|
|
||
|
<androidx.core.widget.NestedScrollView
|
||
|
android:id="@+id/scroller"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false"
|
||
|
android:fillViewport="true">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/AppTheme.Title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginHorizontal="16dp"
|
||
|
android:layout_marginVertical="16dp"
|
||
|
android:text="@string/artists" />
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/artists"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false"
|
||
|
tools:itemCount="10"
|
||
|
tools:listitem="@layout/row_artist" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
|
||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|