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

54 lines
2.4 KiB
XML
Raw Normal View History

2020-08-11 23:59:44 +05:30
<?xml version="1.0" encoding="utf-8"?>
2020-08-13 13:54:36 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-08 13:33:38 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2020-08-13 13:54:36 +05:30
android:id="@+id/mainContent"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2020-08-13 13:54:36 +05:30
android:layout_height="match_parent">
2018-07-27 18:37:33 +05:30
2020-08-13 13:54:36 +05:30
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
2018-09-10 01:14:46 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-13 13:54:36 +05:30
app:liftOnScroll="true">
2018-09-10 01:14:46 +05:30
2020-08-13 13:54:36 +05:30
<FrameLayout
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
2018-09-10 01:14:46 +05:30
android:layout_height="wrap_content"
2020-08-13 13:54:36 +05:30
app:layout_scrollFlags="scroll|enterAlways">
2018-08-08 13:33:38 +05:30
2020-08-13 13:54:36 +05:30
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-13 13:54:36 +05:30
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 23:59:44 +05:30
android:layout_height="wrap_content"
2020-08-13 13:54:36 +05:30
android:layout_gravity="center"
2020-09-09 18:07:25 +05:30
android:id="@+id/appNameText"
2020-08-21 01:32:40 +05:30
android:textAppearance="@style/TextViewHeadline6"
android:textStyle="bold" />
2020-08-13 13:54:36 +05:30
</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 22:40:43 +05:30
2020-08-13 13:54:36 +05:30
<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>