How to set the Fire TV “icon” on home screen?

。_饼干妹妹 提交于 2021-02-11 09:44:25

问题


I have a Fire TV app that will also be released on normal Android TV and one some TVs that have Android that isn't Android TV and possibly on tablets. So I've set my banner for Android TV and that is working fine, the icon works fine on other devices but the Fire TV shows the icon where I expect the banner to be shown. This is my application xml:

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:banner="@drawable/banner"
    android:theme="@style/AppTheme">

    <activity
        android:name=".start.MainActivity"
        android:banner="@drawable/banner"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:logo="@drawable/banner"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:screenOrientation="landscape">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
        </intent-filter>
    </activity>
</application>

What am I missing? I make the custom xml as well with what's below but didn't help:

<resources>
    <drawable name="splash_logo">@drawable/banner</drawable>
    <drawable name="app_logo">@drawable/banner</drawable>
    <drawable name="company_logo">@drawable/banner</drawable>
</resources>

回答1:


To answer my own question, that appears to come from the Amazon App Store. Once I released my app, the banner magically changed on its own.



来源:https://stackoverflow.com/questions/58962060/how-to-set-the-fire-tv-icon-on-home-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!