busky/app
Nik Clayton 64a06bfbe2
Support a swipe down to dismiss video (#2879)
* Support a swipe down to dismiss video

Images can already be dismissed with a swipe, this adds the same
functionality to videos.

- Add a VideoActionsListener interface for the hosting activity to dismiss
  the fragment
- Add a gesture listener for swipes
- Dismiss the fragment if a swipe has a greated Y component than X

Fixes https://github.com/tuskyapp/Tusky/issues/2833

* Scale the video view when dragging

Provides identical visual feedback to the same operation on images.
2022-12-05 14:33:38 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase Status: Display indicators of edited posts (#2935) 2022-12-03 12:15:54 +01:00
src Support a swipe down to dismiss video (#2879) 2022-12-05 14:33:38 +01:00
.gitignore
build.gradle Release 97 2022-11-30 20:01:33 +01:00
proguard-rules.pro add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00