From be85da3a69b306e5d8ca9dc0faad806d51433aad Mon Sep 17 00:00:00 2001 From: Danny Brain Date: Wed, 26 Jul 2017 11:30:02 +1000 Subject: [PATCH 001/421] Allow PlaybackControlView to be overridden in SimpleExoPlayerView --- .../android/exoplayer2/ui/SimpleExoPlayerView.java | 14 +++++++++++++- library/ui/src/main/res/values/ids.xml | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) 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 a4083c940f5..1c39b558bbb 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 @@ -168,6 +168,15 @@ *
  • Type: {@link View}
  • * * + *
  • {@code exo_controller} - An already inflated instance of + * {@link PlaybackControlView}. Allows you to use your own {@link PlaybackControlView} instead + * of default. Note: attrs such as rewind_increment will not be passed through to this + * instance and should be set at creation. {@code exo_controller_placeholder} will be ignored + * if this is set. + * + *
  • *
  • {@code exo_overlay} - A {@link FrameLayout} positioned on top of the player which * the app can access via {@link #getOverlayFrameLayout()}, provided for convenience. *