Remove more references to overriding layouts from Player(Control)View
In exoplayer2 this affects StyledPlayer(Control)View #minor-release PiperOrigin-RevId: 481878940
This commit is contained in:
parent
3399f4ecdf
commit
cc1d35cfd7
@ -85,12 +85,13 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||||||
/**
|
/**
|
||||||
* A view for controlling {@link Player} instances.
|
* A view for controlling {@link Player} instances.
|
||||||
*
|
*
|
||||||
* <p>A PlayerControlView can be customized by setting attributes (or calling corresponding
|
* <p>A {@code PlayerControlView} can be customized by setting attributes (or calling corresponding
|
||||||
* methods), or overriding drawables.
|
* methods), or overriding drawables.
|
||||||
*
|
*
|
||||||
* <h2>Attributes</h2>
|
* <h2>Attributes</h2>
|
||||||
*
|
*
|
||||||
* The following attributes can be set on a PlayerControlView when used in a layout XML file:
|
* The following attributes can be set on a {@code PlayerControlView} when used in a layout XML
|
||||||
|
* file:
|
||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><b>{@code show_timeout}</b> - The time between the last user interaction and the controls
|
* <li><b>{@code show_timeout}</b> - The time between the last user interaction and the controls
|
||||||
@ -149,22 +150,14 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||||||
* <li>Corresponding method: {@link #setTimeBarMinUpdateInterval(int)}
|
* <li>Corresponding method: {@link #setTimeBarMinUpdateInterval(int)}
|
||||||
* <li>Default: {@link #DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS}
|
* <li>Default: {@link #DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS}
|
||||||
* </ul>
|
* </ul>
|
||||||
* <li><b>{@code controller_layout_id}</b> - Specifies the id of the layout to be inflated. See
|
* <li>All attributes that can be set on {@link DefaultTimeBar} can also be set on a {@code
|
||||||
* below for more details.
|
* PlayerControlView}, and will be propagated to the inflated {@link DefaultTimeBar}.
|
||||||
* <ul>
|
|
||||||
* <li>Corresponding method: None
|
|
||||||
* <li>Default: {@code R.layout.exo_player_control_view}
|
|
||||||
* </ul>
|
|
||||||
* <li>All attributes that can be set on {@link DefaultTimeBar} can also be set on a
|
|
||||||
* PlayerControlView, and will be propagated to the inflated {@link DefaultTimeBar} unless the
|
|
||||||
* layout is overridden to specify a custom {@code exo_progress} (see below).
|
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <h2>Overriding drawables</h2>
|
* <h2>Overriding drawables</h2>
|
||||||
*
|
*
|
||||||
* The drawables used by PlayerControlView (with its default layout file) can be overridden by
|
* The drawables used by {@code PlayerControlView} can be overridden by drawables with the same
|
||||||
* drawables with the same names defined in your application. The drawables that can be overridden
|
* names defined in your application. The drawables that can be overridden are:
|
||||||
* are:
|
|
||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><b>{@code exo_styled_controls_play}</b> - The play icon.
|
* <li><b>{@code exo_styled_controls_play}</b> - The play icon.
|
||||||
|
@ -159,15 +159,14 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||||||
* </ul>
|
* </ul>
|
||||||
* <li>All attributes that can be set on {@link PlayerControlView} and {@link DefaultTimeBar} can
|
* <li>All attributes that can be set on {@link PlayerControlView} and {@link DefaultTimeBar} can
|
||||||
* also be set on a PlayerView, and will be propagated to the inflated {@link
|
* also be set on a PlayerView, and will be propagated to the inflated {@link
|
||||||
* PlayerControlView} unless the layout is overridden to specify a custom {@code
|
* PlayerControlView}.
|
||||||
* exo_controller}.
|
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <h2>Overriding drawables</h2>
|
* <h2>Overriding drawables</h2>
|
||||||
*
|
*
|
||||||
* The drawables used by {@link PlayerControlView} (with its default layout file) can be overridden
|
* The drawables used by {@link PlayerControlView} can be overridden by drawables with the same
|
||||||
* by drawables with the same names defined in your application. See the {@link PlayerControlView}
|
* names defined in your application. See the {@link PlayerControlView} documentation for a list of
|
||||||
* documentation for a list of drawables that can be overridden.
|
* drawables that can be overridden.
|
||||||
*/
|
*/
|
||||||
public class PlayerView extends FrameLayout implements AdViewProvider {
|
public class PlayerView extends FrameLayout implements AdViewProvider {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user