

Corresponding method: setShutterBackgroundColor(int).shutter_background_color - The background color of the exo_shutter.

When rendered in software, TextureView will draw nothing. Note, TextureView can only be used inĪ hardware accelerated window. Surface_view is recommended for video applications. Using none is recommendedįor audio only applications, since creating the surface can be expensive. Values are surface_view, texture_view, spherical_gl_surface_view,

Valid values are fit, fixed_width, fixed_height, fill and resize_mode - Controls how video and album art is resized within the view.Corresponding method: setShowBuffering(int).Valid values are never, when_playing and always. show_buffering - Whether the buffering spinner is displayed when the player.Corresponding method: setControllerHideDuringAds(boolean).hide_during_ads - Whether the playback controls are hidden during ads.Ĭontrols are always shown during ads if they are enabled and the player is paused.Corresponding method: setControllerAutoShow(boolean).Manually operated with showController() and hideController(). If set to false, the playback controls can be auto_show - Whether the playback controls are automatically shown when.Corresponding method: setControllerHideOnTouch(boolean).hide_on_touch - Whether the playback controls are hidden by touch events.Corresponding method: setUseController(boolean).use_controller - Whether the playback controls can be shown.Corresponding method: setDefaultArtwork(Drawable).default_artwork - Default artwork to use if no artwork available in audio.Corresponding method: setUseArtwork(boolean).use_artwork - Whether artwork is used if available in audio streams.The following attributes can be set on a PlayerView when used in a layout XML file: Overriding drawables, overriding the view's layout file, or by specifying a custom view layout It displays video, subtitles and album artĭuring playback, and displays playback controls using a PlayerControlView.Ī PlayerView can be customized by setting attributes (or calling corresponding methods), A high level view for Player media playbacks.
