chinwag-android/app/src
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
..
androidTest/java/com/keylesspalace/tusky Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
blue/res new app icon (#2695) 2022-09-13 19:48:09 +02:00
green/res new app icon (#2695) 2022-09-13 19:48:09 +02:00
main Support a swipe down to dismiss video (#2879) 2022-12-05 14:33:38 +01:00
test/java Load goto social and microblog.pub urls in the app (#2945) 2022-12-03 12:16:17 +01:00