2023-05-08 11:27:43 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-05-15 15:18:47 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-05-08 11:27:43 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2023-05-15 15:18:47 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:id="@+id/coordinator_layout"
|
2023-05-08 11:27:43 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2023-05-15 15:18:47 +02:00
|
|
|
tools:context=".fragment.QuoteFragment">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/app_title_bar"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/quote_fragment_title"
|
|
|
|
|
android:textSize="28sp"
|
|
|
|
|
android:fontFamily="@font/mono_bold_italic"
|
|
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed"/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2023-05-08 11:27:43 +02:00
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2023-05-15 15:18:47 +02:00
|
|
|
android:id="@+id/recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:scrollbars="vertical"
|
2023-05-08 11:27:43 +02:00
|
|
|
android:paddingBottom="84dp"
|
|
|
|
|
android:clipToPadding="false"
|
2023-05-15 15:18:47 +02:00
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
|
android:layoutAnimation="@anim/layout_animation_fall_down"/>
|
2023-05-08 11:27:43 +02:00
|
|
|
|
2023-05-15 15:18:47 +02:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
|
android:id="@+id/fab_add_quote"
|
2023-05-08 11:27:43 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-05-15 15:18:47 +02:00
|
|
|
android:layout_gravity="bottom|end"
|
2023-05-08 11:27:43 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="16dp"
|
2023-05-15 15:18:47 +02:00
|
|
|
android:text="@string/quote_fragment_fab_add"
|
|
|
|
|
app:icon="@drawable/add"/>
|
2023-05-08 11:27:43 +02:00
|
|
|
<!-- app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlayExtended"-->
|
|
|
|
|
|
2023-05-15 15:18:47 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|