main: band-aid bottom sheets flipping out pre-30

Caused by busted legacy window insets behavior biting me again.
This commit is contained in:
Alexander Capehart
2025-01-15 11:39:59 -07:00
parent c9d4b01f9f
commit b0b55b5069
6 changed files with 41 additions and 13 deletions
@@ -8,7 +8,7 @@
android:background="?attr/colorSurface">
<FrameLayout
<org.oxycblt.auxio.ui.EatInsetsFrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="org.oxycblt.auxio.ui.BottomSheetContentBehavior">
@@ -23,7 +23,7 @@
tools:layout="@layout/fragment_home" />
<org.oxycblt.auxio.home.EdgeFrameLayout
<org.oxycblt.auxio.ui.EdgeFrameLayout
android:id="@+id/main_fab_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -55,9 +55,9 @@
android:contentDescription="@string/lbl_shuffle"
android:src="@drawable/ic_shuffle_off_24" />
</org.oxycblt.auxio.home.EdgeFrameLayout>
</org.oxycblt.auxio.ui.EdgeFrameLayout>
</FrameLayout>
</org.oxycblt.auxio.ui.EatInsetsFrameLayout>
<View
@@ -14,7 +14,7 @@
tools:listitem="@layout/item_song" />
<org.oxycblt.auxio.home.EdgeFrameLayout
<org.oxycblt.auxio.ui.EdgeFrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -53,5 +53,5 @@
</LinearLayout>
</org.oxycblt.auxio.home.EdgeFrameLayout>
</org.oxycblt.auxio.ui.EdgeFrameLayout>
</FrameLayout>
+4 -4
View File
@@ -8,7 +8,7 @@
android:background="?attr/colorSurface"
android:transitionGroup="true">
<FrameLayout
<org.oxycblt.auxio.ui.EatInsetsFrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="org.oxycblt.auxio.ui.BottomSheetContentBehavior">
@@ -28,7 +28,7 @@
android:layout_height="match_parent"
android:visibility="invisible" />
<org.oxycblt.auxio.home.EdgeFrameLayout
<org.oxycblt.auxio.ui.EdgeFrameLayout
android:id="@+id/main_fab_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -60,9 +60,9 @@
android:contentDescription="@string/lbl_shuffle"
android:src="@drawable/ic_shuffle_off_24" />
</org.oxycblt.auxio.home.EdgeFrameLayout>
</org.oxycblt.auxio.ui.EdgeFrameLayout>
</FrameLayout>
</org.oxycblt.auxio.ui.EatInsetsFrameLayout>
<View
android:id="@+id/main_sheet_scrim"