Dantotsu/app/src/main/res/layout/fragment_anime.xml
2024-02-06 02:16:10 -06:00

46 lines
No EOL
1.8 KiB
XML

<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".home.AnimeFragment">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/animeRefresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/animePageRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingStart="16dp"
android:paddingEnd="16dp"
tools:itemCount="1"
tools:listitem="@layout/item_anime_page" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<androidx.cardview.widget.CardView
android:id="@+id/animePageScrollTop"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="16dp"
app:cardBackgroundColor="?android:colorBackground"
app:cardCornerRadius="24dp"
app:contentPadding="12dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:rotation="90"
app:srcCompat="@drawable/ic_round_arrow_back_ios_new_24"
app:tint="?attr/colorOnSurface"
tools:ignore="ContentDescription" />
</androidx.cardview.widget.CardView>
</FrameLayout>