PlayerAndroid/app/src/main/res/layout/fragment_library.xml

54 lines
2.4 KiB
XML
Raw Normal View History

2020-08-11 18:29:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-08-13 08:24:36 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-08 08:03:38 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2020-08-13 08:24:36 +00:00
android:id="@+id/mainContent"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2020-08-13 08:24:36 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
2020-08-13 08:24:36 +00:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-13 08:24:36 +00:00
app:liftOnScroll="true">
2018-09-09 19:44:46 +00:00
2020-08-13 08:24:36 +00:00
<FrameLayout
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
2018-09-09 19:44:46 +00:00
android:layout_height="wrap_content"
2020-08-13 08:24:36 +00:00
app:layout_scrollFlags="scroll|enterAlways">
2018-08-08 08:03:38 +00:00
2020-08-13 08:24:36 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-13 08:24:36 +00:00
android:background="?attr/colorSurface"
app:navigationIcon="@drawable/ic_search"
app:popupTheme="?attr/toolbarPopupTheme"
app:title="@null"
tools:ignore="UnusedAttribute">
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
2020-08-11 18:29:44 +00:00
android:layout_height="wrap_content"
2020-08-13 08:24:36 +00:00
android:layout_gravity="center"
android:text="@string/app_name"
2020-08-20 20:02:40 +00:00
android:textAppearance="@style/TextViewHeadline6"
android:textStyle="bold" />
2020-08-13 08:24:36 +00:00
</androidx.appcompat.widget.Toolbar>
<ViewStub
android:id="@+id/cab_stub"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height" />
</FrameLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-08-10 17:10:43 +00:00
2020-08-13 08:24:36 +00:00
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_container"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
app:navGraph="@navigation/library_graph" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>