From e92667ba5b58cbda9695c8168d3f8fa810da8288 Mon Sep 17 00:00:00 2001 From: Oliver Woodman Date: Mon, 13 Nov 2017 17:28:25 +0000 Subject: [PATCH] Only set shutter color if attr is declared --- .../exoplayer2/ui/SimpleExoPlayerView.java | 22 +++++++++++-------- library/ui/src/main/res/values/attrs.xml | 2 +- 2 files changed, 14 insertions(+), 10 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 86fe7a3f7f..b09e80c591 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 @@ -83,12 +83,6 @@ import java.util.List; *
  • Default: {@code true}
  • * * - *
  • {@code shutter_background_color} - The background color of the {@code exo_shutter} view. - * - *
  • *
  • {@code hide_on_touch} - Whether the playback controls are hidden by touch events. * *
  • + *
  • {@code shutter_background_color} - The background color of the {@code exo_shutter} + * view. + * + *
  • *
  • {@code player_layout_id} - Specifies the id of the layout to be inflated. See below * for more details. *