【发布时间】:2022-01-07 13:11:55
【问题描述】:
我在 Android TV / Fire TV 上有一个超级简单的视频播放器,基本上我的 UI 只是一个 'Layoutmatching parent and then inside aPlayerView` 也匹配父级。
在不同电视上的 Android TV 和 Fire TV 上,我得到了大约 2.5% 的过度扫描。我可以按照 Android TV 开发指南轻松纠正这一点,但我应该将其应用于我的所有用户吗?我担心如果我发布更新,那么一些用户最终会看到视频不会填满整个电视。有没有办法知道我是否需要考虑过扫描?
这是我的布局:
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/black"
tools:context=".connected.VideoFragment">
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/videoView"
app:surface_type="texture_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:controller_layout_id="@layout/custom_player_controls" />
</androidx.appcompat.widget.LinearLayoutCompat>
编辑:我想提一下,我在 YouTube 应用中播放了一段 YouTube 视频,该视频向您显示了过度扫描的数量,而 YouTube 应用也有 2.5% 的过度扫描。在 3 台电视上复制了此内容。
【问题讨论】:
标签: android-tv television amazon-fire-tv