56 lines
No EOL
2.4 KiB
XML
56 lines
No EOL
2.4 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"
|
|
app:defaultNavHost="true"
|
|
android:background="?attr/colorSurface"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
|
tools:layout="@layout/fragment_home" />
|
|
|
|
<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:enableEdgeToEdge="true"
|
|
app:gestureInsetBottomIgnored="true"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/playerFragmentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/miniPlayerFragment"
|
|
android:name="io.github.muntashirakon.music.fragments.other.MiniPlayerFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/mini_player_height"
|
|
tools:layout="@layout/fragment_mini_player" />
|
|
|
|
</FrameLayout>
|
|
|
|
<io.github.muntashirakon.music.views.BottomNavigationBarTinted
|
|
android:id="@+id/bottomNavigationView"
|
|
style="@style/Widget.Material3.BottomNavigationView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:elevation="0dp"
|
|
android:minHeight="@dimen/bottom_nav_height"
|
|
app:itemHorizontalTranslationEnabled="false"
|
|
app:itemPaddingBottom="8dp"
|
|
app:itemPaddingTop="8dp"
|
|
app:menu="@menu/bottom_navigation_main" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |