66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
|
android:id="@+id/mainContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<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"
|
|
android:background="?colorSurface"
|
|
app:defaultNavHost="true"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
|
|
|
<View
|
|
android:id="@+id/dimBackground"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:visibility="gone" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/slidingPanel"
|
|
style="@style/BottomSheetStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:behavior_hideable="true"
|
|
app:behavior_peekHeight="0dp"
|
|
app:gestureInsetBottomIgnored="true"
|
|
app:layout_behavior="code.name.monkey.retromusic.RetroBottomSheetBehavior">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/playerFragmentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<fragment
|
|
android:id="@+id/miniPlayerFragment"
|
|
android:name="code.name.monkey.retromusic.fragments.other.MiniPlayerFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/mini_player_height"
|
|
tools:layout="@layout/fragment_mini_player" />
|
|
|
|
<ViewStub
|
|
android:id="@+id/cast_stub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout="@layout/cast_controller_layout" />
|
|
|
|
</FrameLayout>
|
|
|
|
<code.name.monkey.retromusic.views.BottomNavigationBarTinted
|
|
android:id="@+id/bottomNavigationView"
|
|
style="@style/Widget.Material3.BottomNavigationView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/bottom_nav_height"
|
|
android:layout_gravity="bottom"
|
|
android:elevation="0dp"
|
|
app:itemHorizontalTranslationEnabled="false"
|
|
app:menu="@menu/bottom_navigation_main"
|
|
tools:layout_height="wrap_content" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |