From 15048e7f1bb1620ff7981daf74ef3ae80e16a377 Mon Sep 17 00:00:00 2001 From: Luke Simmons Date: Sat, 26 Dec 2020 22:53:59 -0600 Subject: Animate player controls Fade in and out on the player controls --- app/src/main/res/layout/item_post_detail_video_autoplay.xml | 3 ++- app/src/main/res/layout/item_post_video_type_autoplay.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'app/src/main/res/layout') 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" /> + app:controller_layout_id="@layout/exo_autoplay_playback_control_view" + android:animateLayoutChanges="true" />