我正在使用Leanback支持库开发一个Android TV应用程序。我需要在BrowseFragment的右上角(徽标下方)显示一个按钮。(如下图所示)
这里是布局代码。
<?xml version="1.0" encoding="utf-8"?>
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main_browse_fragment"
android:name="tv.bishan.com.videoapp.ui.ItemFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
tools:deviceIds="tv"
tools:ignore="MergeRootFrame"/>
我该如何实现这个?从谷歌上找不到任何解决方案。