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

62 lines
2.6 KiB
XML
Raw Normal View History

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