From 4c0b53905402e9c9b9826033b8f58e531c38225d Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 24 Apr 2017 04:35:25 -0700 Subject: [PATCH] Allow disabling hide on touch for SimpleExoPlayerView Issue: #2501 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154036726 --- .../exoplayer2/ui/SimpleExoPlayerView.java | 44 +++++++++++++++---- library/ui/src/main/res/values/attrs.xml | 3 +- 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java index bdb7539563..bb47226c42 100644 --- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java @@ -74,12 +74,18 @@ import java.util.List; *
  • Default: {@code null}
  • * * - *
  • {@code use_controller} - Whether playback controls are displayed. + *
  • {@code use_controller} - Whether the playback controls can be shown. * *
  • + *
  • {@code hide_on_touch} - Whether the playback controls are hidden by touch events. + * + *
  • *
  • {@code resize_mode} - Controls how video and album art is resized within the view. * Valid values are {@code fit}, {@code fixed_width}, {@code fixed_height} and {@code fill}. *