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

63 lines
2.6 KiB
XML
Raw Normal View History

2020-08-11 18:29:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-07-27 13:07:33 +00:00
<LinearLayout 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"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="match_parent"
2019-12-10 17:36:20 +00:00
android:background="?colorSurface"
2018-08-08 08:03:38 +00:00
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-08-22 17:54:07 +00:00
<FrameLayout
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0dp"
tools:ignore="UnusedAttribute">
<include layout="@layout/status_bar" />
</FrameLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
2020-08-11 18:29:44 +00:00
android:id="@+id/mainContent"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-09-09 19:44:46 +00:00
android:layout_height="match_parent">
2018-08-22 17:54:07 +00:00
2018-09-09 19:44:46 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-12-08 03:34:15 +00:00
android:id="@+id/appBarLayout"
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"
app:liftOnScroll="true">
2018-08-08 08:03:38 +00:00
2020-08-11 18:29:44 +00:00
<FrameLayout
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-09 15:38:32 +00:00
app:layout_scrollFlags="scroll|enterAlways">
2018-08-08 08:03:38 +00:00
2020-08-11 18:29:44 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2018-11-20 15:27:59 +00:00
android:layout_width="match_parent"
2020-08-11 18:29:44 +00:00
android:layout_height="wrap_content"
android:background="?attr/colorSurface"
app:popupTheme="?attr/toolbarPopupTheme"
app:title="@string/app_name"
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal.Library"
app:titleTextColor="?attr/colorControlNormal"
tools:ignore="UnusedAttribute" />
<ViewStub
android:id="@+id/cab_stub"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height" />
</FrameLayout>
2018-09-09 19:44:46 +00:00
</com.google.android.material.appbar.AppBarLayout>
2018-08-10 17:10:43 +00:00
2020-08-11 18:29:44 +00:00
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_container"
android:name="androidx.navigation.fragment.NavHostFragment"
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-08-11 18:29:44 +00:00
app:defaultNavHost="true"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
app:navGraph="@navigation/library_graph" />
2018-09-09 19:44:46 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2020-08-11 18:29:44 +00:00
</LinearLayout>