spark-android icon indicating copy to clipboard operation
spark-android copied to clipboard

[CatalogApp]: Add a feature to enable/disable EdgeToEdge

Open kazaky opened this issue 9 months ago • 0 comments

🕵️ Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the problem

We faced a bug in Production caused by latest BottomSheet component, content is being overlapped by Android(Buttons) navigation bar. as our app is not using EdgeToEdge, while CatalogApp is using EdgeToEdge

Describe the solution

Add a feature in CatalogApp to enable/disable see components in both EdgeToEdge and non EdgeToEdge to check how will content fill the entire screen behind Android NavigationBar and catch a problem early while testing on Spark

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Reference

  • https://developer.android.com/develop/ui/views/layout/edge-to-edge
  • https://medium.com/@timo_86166/jetpack-compose-previews-for-edge-to-edge-design-a03b3a3713f3
  • https://medium.com/@giuliopime/modalbottomsheet-and-the-system-navigation-bar-jetpack-compose-6e9bf58e8317

image

kazaky avatar May 30 '24 12:05 kazaky