Revert to a saner navigation structure for the time being. Nested nav is interesting but I dont want to deal with the bugs at this moment.
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:attr/actionBarSize"
|
|
android:background="?android:attr/windowBackground"
|
|
android:elevation="@dimen/elevation_normal"
|
|
app:titleTextAppearance="@style/TextAppearance.Toolbar.Bold"
|
|
app:title="@string/title_library_fragment"
|
|
tools:titleTextColor="@color/blue" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/library_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:listitem="@layout/item_album" />
|
|
</LinearLayout>
|
|
</layout> |