Android TV是一款正在开发运行Android操作系统的智能电视平台。它将通过在现有电视节目之上叠加用户界面来创建交互式电视体验。
Flutter Android TV:快速加载流时应用程序崩溃
我在Android TV上为Flutter创建了一个测试应用程序,可以通过streamingUrl播放外部流。最初加载流并播放它工作正常。 当我想“快速”移动时,问题就开始了......
在dpad右侧长按recyclerview内部会自动将焦点转移到recyclerview外部的另一个视图
垂直方向我有 2 个视图,一个是按钮,另一个是水平回收器视图。当我聚焦回收器视图第一项,然后长按向右方向键时,焦点将转到上面的按钮...
Android Jetpack Compose TV 焦点恢复
我在 TvLazyColumn 中有 TvLazyRows。当我导航到所有列表的末尾(位置 [20,20])导航到下一个屏幕并返回时,焦点将恢复到第一个可见位置 [15,1],而不是...
是否可以为Android TV制作一个使用无障碍服务的Android应用程序?
我做了一个Android应用程序。现在我需要该应用程序在 Android TV 上运行。我的应用程序使用辅助功能服务,但我找不到如何在 Android TV 上为我的应用程序启用辅助功能服务。 怎么会这样
Android 设备(电视)在 Unity 中无法检测到外部 USB 网络摄像头
我们正在为 Android TV 设备构建一个 Unity 应用程序,并尝试访问 Unity 内的 USB 网络摄像头。 该设备能够识别相机并在内置相机应用程序中显示其源。
我们正在为 Android TV 设备构建一个 Unity 应用程序,并尝试访问 Unity 内的 USB 网络摄像头。 该设备能够识别相机并在内置相机应用程序中显示其源。
使用 HDMI CEC 命令关闭(待机)Android 电视不适用于 Amlogic MBOX
我正在尝试使用适用于 Android 的 HDMI CEC 通过 Android 应用程序关闭我的三星电视 我使用 Amlogic MBOX 三星电视 HDMI CEC 已打开。 Amlogic MBOX HDMI CEC 也已打开。 代码片段...
有没有办法在 VirtualBox 中运行 Android TV?
我想尝试 Android TV 并可能为其开发一个应用程序。不过我想先看看操作系统。有没有办法将 Android TV 作为虚拟机运行,例如使用 VirtualBox?
Android TV 应用程序 - Google 抱怨横幅没有填满整个空间
我们正在尝试向 Google Play 商店提交仅限电视的 Android 应用程序,但电视的选择被拒绝,因为: 没有全尺寸的应用横幅 您的应用程序不包含全尺寸应用程序横幅,或者不是
我有一个电视应用程序。我在主屏幕上有很多视图。我想设置按住向下按钮时的对焦速度。正常情况下都这么快啊我想减慢焦点在视图之间的转换......
如何覆盖 ReactTextInputManager 中 IME_ACTION_PREVIOUS 的行为?
看一下这一行,似乎 IME_MASK_ACTION 中的所有操作都会触发提交事件。我想重写此行为以使 IME_ACTION_PREVIOUS 操作作为“后退...
考虑以下代码: val tvListState = RememberTvLazyListState() val coScope = RememberCoroutineScope() 柱子{ 电视懒行( 水平排列 = 排列.spacedBy(15.dp), ...
可以将链接发送到 Android TV / Chromecast / Samsung TV / 等,以便在本机应用程序中打开
我有一个 Android 应用程序,我希望能够使用它从 Netflix、Prime Video、HBO 等发送链接到电视(Android TV、Chromecast、Samsung TV 或可能的情况下)以在本机中播放...
当片段在 Android 电视上打开时,如何防止注意力集中在活动上?
我有一个播放电影的活动,并且该活动上打开了许多片段。当片段在活动上方打开时,活动可以获得焦点。 我希望该活动不再...
使用下面的函数,我试图扩大焦点项目的高度和宽度。我面临的问题是高度仅向底部扩展,而顶部似乎是固定的。我...
滚动 Android TV 时如何阻止 RecyclerView 与 TextView 重叠
我有一个 Android TV 应用程序,它在 TextView 下方有一个 RecyclerView。一切看起来都很棒,直到我单击第三个项目,导致 RecyclerView 覆盖 TextView。 我有一个 Android TV 应用程序,它在 TextView 下方有一个 RecyclerView。一切看起来都很棒,直到我单击第三个项目,导致 RecyclerView 覆盖 TextView。 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="false" android:focusableInTouchMode="false" android:keepScreenOn="true"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:clipToPadding="false" android:clipChildren="false" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent"> <TextView android:id="@+id/dateTV" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="18sp" android:layout_marginStart="@dimen/homeHorizontalMargin" android:paddingBottom="20dp" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerView" android:layout_below="@id/dateTV" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="20dp" android:layout_marginHorizontal="@dimen/epgRVHorizontalMargin" android:focusable="false" android:focusableInTouchMode="false" android:descendantFocusability="afterDescendants" /> </RelativeLayout> </androidx.constraintlayout.widget.ConstraintLayout> 如何阻止 RecyclerView 与 TextView 重叠? 您的 RecyclerView 父布局具有以下属性 android:clipToPadding="false" android:clipChildren="false" 因此,当您滚动RecyclerView时,它将与布局中的其他视图重叠。 您可以将其删除。为什么在这里使用这个属性有什么具体原因要在屏幕上设计其他视图吗? 或者您有 ConstraintLayout 作为根布局,那么为什么您再次添加 RelativeLayout 并将 RecyclerView 放入此布局中。 您可以像下面这样设计您的 XML 布局 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="false" android:focusableInTouchMode="false" android:keepScreenOn="true"> <TextView android:id="@+id/dateTV" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/homeHorizontalMargin" android:paddingBottom="20dp" android:textSize="18sp" app:layout_constraintTop_toTopOf="parent" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="0dp" android:layout_below="@id/dateTV" android:layout_marginHorizontal="@dimen/epgRVHorizontalMargin" android:layout_marginTop="20dp" android:descendantFocusability="afterDescendants" android:focusable="false" android:focusableInTouchMode="false" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/dateTV" /> </androidx.constraintlayout.widget.ConstraintLayout>
我们可以在 ListRowPresenter - Leanback Android TV 中跳过特定项目的缩放动画吗
我想仅取消第一个元素的缩放动画。有什么办法可以做到吗。 我初始化 ListRowPresenter(FocusHighlight.ZOOM_FACTOR_LARGE, false) 像这样 但是缩放动画...
我想在我的 Android TV 应用程序上打开 Google 键盘搜索布局,因为它是由默认的 Android 启动器提供的。如下图所示。 单击此按钮后,它将打开页面...
从 Android TV 上的启动器列表中隐藏 Android 应用程序
我想从 Android TV 启动器列表中隐藏我的 Android 应用程序。 有没有办法从 Android TV 启动器列表中隐藏 Android 应用程序?我从代码中删除了活动类并删除了
Android TV 在 RecyclerView 之间移动焦点
我正在构建一个具有以下布局的 Android TV 应用程序: 左右两个列表都是具有垂直 LinearLayoutManager 的 RecyclerView,Header 视图是静态的。使用方向键导航