Otter-App-Android-Funkwhale/app/src/main/res/layout/fragment_artists.xml

60 lines
2.1 KiB
XML
Raw Normal View History

2019-08-19 16:50:33 +02:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-08-19 16:50:33 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
2019-08-19 16:50:33 +02:00
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swiper"
style="@style/AppTheme.Fragment"
2019-08-19 16:50:33 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2019-08-19 16:50:33 +02:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/artists"
2019-08-19 16:50:33 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/row_artist" />
2019-08-19 16:50:33 +02:00
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<LinearLayout
2019-08-19 16:50:33 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false"
android:orientation="vertical">
<TextView
2020-07-13 23:32:42 +02:00
android:id="@+id/title"
style="@style/AppTheme.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:text="@string/artists" />
</LinearLayout>
2019-08-19 16:50:33 +02:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
2019-08-19 16:50:33 +02:00
</com.google.android.material.appbar.AppBarLayout>
2019-08-19 16:50:33 +02:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>