简体   繁体   中英

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

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>

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.

if it is accepted yes but if not!!!! you must have something like that

<application android:icon="@drawable/ic_launcher"...

Please note that this ic_launcher must be 192x192

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM