diff options
author | Luke Simmons <luke5083@live.com> | 2020-12-27 04:53:59 +0000 |
---|---|---|
committer | Luke Simmons <luke5083@live.com> | 2020-12-27 04:53:59 +0000 |
commit | 15048e7f1bb1620ff7981daf74ef3ae80e16a377 (patch) | |
tree | 98fdce05e9d65efdfb917d808bd3f1b4f00c7fd0 /app/src/main | |
parent | e980e1a6133cbb33a6827092a4ab2f65cbd60ca7 (diff) | |
download | infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar.gz infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar.bz2 infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar.lz infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar.xz infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.tar.zst infinity-for-reddit-15048e7f1bb1620ff7981daf74ef3ae80e16a377.zip |
Animate player controls
Fade in and out on the player controls
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_post_detail_video_autoplay.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_video_type_autoplay.xml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay.xml b/app/src/main/res/layout/item_post_detail_video_autoplay.xml index 556a9aff..150f54d6 100644 --- a/app/src/main/res/layout/item_post_detail_video_autoplay.xml +++ b/app/src/main/res/layout/item_post_detail_video_autoplay.xml @@ -205,7 +205,8 @@ android:id="@+id/player_view_item_post_detail_video_autoplay" android:layout_width="match_parent" android:layout_height="match_parent" - app:controller_layout_id="@layout/exo_autoplay_playback_control_view"/> + app:controller_layout_id="@layout/exo_autoplay_playback_control_view" + android:animateLayoutChanges="true" /> <pl.droidsonroids.gif.GifImageView android:id="@+id/preview_image_view_item_post_detail_video_autoplay" diff --git a/app/src/main/res/layout/item_post_video_type_autoplay.xml b/app/src/main/res/layout/item_post_video_type_autoplay.xml index 0485f249..b4fcb314 100644 --- a/app/src/main/res/layout/item_post_video_type_autoplay.xml +++ b/app/src/main/res/layout/item_post_video_type_autoplay.xml @@ -208,7 +208,8 @@ android:id="@+id/player_view_item_post_video_type_autoplay" android:layout_width="match_parent" android:layout_height="match_parent" - app:controller_layout_id="@layout/exo_autoplay_playback_control_view" /> + app:controller_layout_id="@layout/exo_autoplay_playback_control_view" + android:animateLayoutChanges="true" /> <pl.droidsonroids.gif.GifImageView android:id="@+id/preview_image_view_item_post_video_type_autoplay" |