[英]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.我有一个 Fire TV 应用程序,该应用程序也将在普通的 Android 电视和一些具有 Android 的电视上发布,而不是 Android 电视,也可能在平板电脑上发布。 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.
因此,我为 Android 电视设置了横幅,并且工作正常,该图标在其他设备上工作正常,但 Fire TV 显示了我希望显示横幅的图标。 This is my application xml:
这是我的应用程序 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:
我制作了自定义 xml 以及以下内容,但没有帮助:
<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"... <应用程序 android:icon="@drawable/ic_launcher"...
Please note that this ic_launcher must be 192x192请注意,这个 ic_launcher 必须是 192x192
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.