Finish fixing playback control focus

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140635851
This commit is contained in:
olly 2016-11-30 12:20:38 -08:00 committed by Oliver Woodman
parent 195a93e5af
commit 8bc7da5681
5 changed files with 51 additions and 2 deletions

View file

@ -0,0 +1,24 @@
<?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>
<style name="ExoMediaButton">
<item name="android:background">?android:attr/selectableItemBackground</item>
<item name="android:layout_width">@dimen/exo_media_button_width</item>
<item name="android:layout_height">@dimen/exo_media_button_height</item>
</style>
</resources>

View file

@ -14,6 +14,7 @@
limitations under the License.
-->
<resources>
<!-- Must be kept in sync with AspectRatioFrameLayout -->
<attr name="resize_mode" format="enum">
<enum name="fit" value="0"/>
@ -21,6 +22,7 @@
<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"/>

View file

@ -0,0 +1,21 @@
<?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>
<dimen name="exo_media_button_width">71dp</dimen>
<dimen name="exo_media_button_height">52dp</dimen>
</resources>

View file

@ -14,6 +14,7 @@
limitations under the License.
-->
<resources>
<item name="exo_content_frame" type="id"/>
<item name="exo_shutter" type="id"/>
<item name="exo_subtitles" type="id"/>
@ -29,4 +30,5 @@
<item name="exo_duration" type="id"/>
<item name="exo_position" type="id"/>
<item name="exo_progress" type="id"/>
</resources>

View file

@ -17,8 +17,8 @@
<style name="ExoMediaButton">
<item name="android:background">@null</item>
<item name="android:layout_width">71dp</item>
<item name="android:layout_height">52dp</item>
<item name="android:layout_width">@dimen/exo_media_button_width</item>
<item name="android:layout_height">@dimen/exo_media_button_height</item>
</style>
<style name="ExoMediaButton.Previous">