mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-21 17:35:21 +01:00
Fixed bottom sheet for Immersive mode
This commit is contained in:
parent
6a391219a8
commit
c2647b9160
5 changed files with 25 additions and 28 deletions
|
@ -16,14 +16,6 @@
|
|||
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"
|
||||
|
@ -31,7 +23,6 @@
|
|||
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
|
||||
|
|
|
@ -191,6 +191,7 @@
|
|||
<style name="BottomSheetStyle" parent="Widget.Material3.BottomSheet">
|
||||
<item name="android:maxWidth">@empty</item>
|
||||
<item name="android:backgroundTint">?attr/bottomSheetTint</item>
|
||||
<item name="enableEdgeToEdge">true</item>
|
||||
</style>
|
||||
|
||||
<style name="MaterialCardViewStroke">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue