mirror of
https://github.com/samsonjs/media.git
synced 2026-04-26 14:57:47 +00:00
Issue: #2501 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154036726
75 lines
2.8 KiB
XML
75 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<resources>
|
|
|
|
<!-- Must be kept in sync with AspectRatioFrameLayout -->
|
|
<attr name="resize_mode" format="enum">
|
|
<enum name="fit" value="0"/>
|
|
<enum name="fixed_width" value="1"/>
|
|
<enum name="fixed_height" value="2"/>
|
|
<enum name="fill" value="3"/>
|
|
</attr>
|
|
|
|
<!-- Must be kept in sync with SimpleExoPlayerView -->
|
|
<attr name="surface_type" format="enum">
|
|
<enum name="none" value="0"/>
|
|
<enum name="surface_view" value="1"/>
|
|
<enum name="texture_view" value="2"/>
|
|
</attr>
|
|
<attr name="show_timeout" format="integer"/>
|
|
<attr name="rewind_increment" format="integer"/>
|
|
<attr name="fastforward_increment" format="integer"/>
|
|
<attr name="player_layout_id" format="reference"/>
|
|
<attr name="controller_layout_id" format="reference"/>
|
|
|
|
<declare-styleable name="SimpleExoPlayerView">
|
|
<attr name="use_artwork" format="boolean"/>
|
|
<attr name="default_artwork" format="reference"/>
|
|
<attr name="use_controller" format="boolean"/>
|
|
<attr name="hide_on_touch" format="boolean"/>
|
|
<attr name="resize_mode"/>
|
|
<attr name="surface_type"/>
|
|
<attr name="show_timeout"/>
|
|
<attr name="rewind_increment"/>
|
|
<attr name="fastforward_increment"/>
|
|
<attr name="player_layout_id"/>
|
|
<attr name="controller_layout_id"/>
|
|
</declare-styleable>
|
|
|
|
<declare-styleable name="AspectRatioFrameLayout">
|
|
<attr name="resize_mode"/>
|
|
</declare-styleable>
|
|
|
|
<declare-styleable name="PlaybackControlView">
|
|
<attr name="show_timeout"/>
|
|
<attr name="rewind_increment"/>
|
|
<attr name="fastforward_increment"/>
|
|
<attr name="controller_layout_id"/>
|
|
</declare-styleable>
|
|
|
|
<declare-styleable name="DefaultTimeBar">
|
|
<attr name="bar_height" format="dimension"/>
|
|
<attr name="touch_target_height" format="dimension"/>
|
|
<attr name="ad_marker_width" format="dimension"/>
|
|
<attr name="scrubber_enabled_size" format="dimension"/>
|
|
<attr name="scrubber_disabled_size" format="dimension"/>
|
|
<attr name="scrubber_dragged_size" format="dimension"/>
|
|
<attr name="played_color" format="color"/>
|
|
<attr name="buffered_color" format="color"/>
|
|
<attr name="ad_marker_color" format="color"/>
|
|
</declare-styleable>
|
|
|
|
</resources>
|