2019-08-19 16:50:33 +02:00
|
|
|
<?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"
|
|
|
|
style="@style/AppTheme.Fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
|
|
|
|
|
|
|
<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="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/AppTheme.Title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-21 19:49:48 +02:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:text="@string/albums" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/albums"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:itemCount="10"
|
|
|
|
tools:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
|
tools:listitem="@layout/row_album_grid"
|
|
|
|
tools:spanCount="3" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|