Animate player controls

Fade in and out on the player controls
This commit is contained in:
Luke Simmons 2020-12-26 22:53:59 -06:00
parent e980e1a613
commit 15048e7f1b
No known key found for this signature in database
GPG Key ID: B7E6DA21F06F2DCB
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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"