Skip to content

Commit

Permalink
Remove the custom bottom sheet animation style, since it shows distra…
Browse files Browse the repository at this point in the history
…cting content underneath the sheet when settling
  • Loading branch information
jayohms committed Feb 20, 2025
1 parent f7f55a7 commit 613a05b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions demo/src/main/res/values/motion.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

<!--Motion-->

<style name="Animation.MyTheme.BottomSheet.Modal" parent="Animation.AppCompat.Dialog">
<item name="android:windowEnterAnimation">@anim/dialog_sheet_slide_in</item>
<item name="android:windowExitAnimation">@anim/dialog_sheet_slide_out</item>
</style>

<style name="Animation.MyTheme.AlertDialog" parent="Animation.AppCompat.Dialog">
<item name="android:windowEnterAnimation">@anim/dialog_sheet_slide_in</item>
<item name="android:windowExitAnimation">@anim/dialog_sheet_slide_out</item>
Expand Down
1 change: 0 additions & 1 deletion demo/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<style name="ThemeOverlay.MyTheme.BottomSheetDialog" parent="ThemeOverlay.MaterialComponents.BottomSheetDialog">
<item name="android:windowIsFloating">false</item>
<item name="android:windowBackground">@color/transparent</item>
<item name="android:windowAnimationStyle">@style/Animation.MyTheme.BottomSheet.Modal</item>
<item name="android:statusBarColor">@color/transparent</item>
<item name="bottomSheetStyle">@style/Widget.MyTheme.BottomSheet.Modal</item>
</style>
Expand Down

0 comments on commit 613a05b

Please sign in to comment.