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

63 lines
2.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-24 17:27:43 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-30 09:29:30 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-07-27 13:07:33 +00:00
xmlns:tools="http://schemas.android.com/tools"
2018-12-09 06:38:34 +00:00
android:id="@+id/mainContent"
android:layout_width="match_parent"
2018-09-09 19:44:46 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_container"
tools:layout="@layout/fragment_home"
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" />
2019-10-29 16:56:05 +00:00
2020-05-11 09:51:22 +00:00
<FrameLayout
android:id="@+id/slidingPanel"
style="@style/BottomSheetStyle"
android:layout_width="match_parent"
2020-09-23 21:10:16 +00:00
android:layout_height="wrap_content"
2020-08-11 21:31:09 +00:00
app:behavior_hideable="true"
app:behavior_peekHeight="0dp"
2021-10-25 12:38:10 +00:00
app:gestureInsetBottomIgnored="true"
app:enableEdgeToEdge="true"
2020-05-11 09:51:22 +00:00
app:layout_behavior="code.name.monkey.retromusic.RetroBottomSheetBehavior">
2020-02-17 15:08:20 +00:00
<FrameLayout
2020-01-24 17:27:43 +00:00
android:id="@+id/playerFragmentContainer"
2020-08-11 18:29:44 +00:00
android:layout_width="match_parent"
2020-01-24 17:27:43 +00:00
android:layout_height="match_parent" />
2020-01-24 16:54:08 +00:00
2020-08-11 18:29:44 +00:00
<fragment
2020-01-24 17:27:43 +00:00
android:id="@+id/miniPlayerFragment"
android:name="code.name.monkey.retromusic.fragments.other.MiniPlayerFragment"
2020-01-24 17:27:43 +00:00
android:layout_width="match_parent"
android:layout_height="@dimen/mini_player_height"
2020-01-24 17:27:43 +00:00
tools:layout="@layout/fragment_mini_player" />
2020-01-24 16:54:08 +00:00
<ViewStub
android:id="@+id/cast_stub"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-09-16 12:59:31 +00:00
android:layout="@layout/cast_controller_layout" />
2020-05-11 09:51:22 +00:00
</FrameLayout>
2018-11-20 15:27:59 +00:00
<code.name.monkey.retromusic.views.BottomNavigationBarTinted
2018-12-09 06:38:34 +00:00
android:id="@+id/bottomNavigationView"
style="@style/Widget.Material3.BottomNavigationView"
2019-03-25 12:43:43 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-20 15:27:59 +00:00
android:layout_gravity="bottom"
android:elevation="0dp"
android:minHeight="@dimen/bottom_nav_height"
2019-11-21 16:31:39 +00:00
app:itemHorizontalTranslationEnabled="false"
app:itemPaddingBottom="8dp"
app:itemPaddingTop="8dp"
2019-09-28 17:52:49 +00:00
app:menu="@menu/bottom_navigation_main"
tools:layout_height="wrap_content" />
2020-01-24 17:27:43 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>