recloudstream / cloudstream

Android app for streaming and downloading media.
GNU General Public License v3.0
6.57k stars 526 forks source link

Padding around systemBars for swipe detection in player #1356

Closed zzjjaayy closed 2 hours ago

zzjjaayy commented 3 hours ago

Describe your suggested feature

Need some padding around the system bars (navigation and status bar) for the swipe action detection. Whenever I try to pull down the notification shade from the player, the volume/brightness changes are triggered annoyingly. The same thing happens when I try to reach for the navigation bar which is hidden in the player.

Other details

No response

Acknowledgements

fire-light42 commented 2 hours ago

That is already the case: https://github.com/recloudstream/cloudstream/blob/bd95ecf5ba0d30da76103597b40ebe77b80d2ad9/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt#L205

https://github.com/recloudstream/cloudstream/blob/bd95ecf5ba0d30da76103597b40ebe77b80d2ad9/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt#L940

zzjjaayy commented 39 minutes ago

@fire-light42 I wanted "padding" around the system bars. Whenever i or any user tries to reach for these bars when the player is full screen we swipe down or up which often covers region larger than the bars themselves which triggers the setting. Happens almost always for me. Attaching a video which should explain the issue better, notice how i am dragging from the very bottom to reveal the navbar but it triggers the setting.

https://github.com/user-attachments/assets/fb6785a5-dc54-464e-88c3-ba7461201d19