简体   繁体   English

Appcelerator Titanium是否在经典移动应用程序中支持自适应图标?

[英]Does Appcelerator Titanium support Adaptive Icons in classic mobile app?

What I am trying to achieve is to have my appicon appear on Devices with Android Oreo and beyond, without the white circle mask seen here . 我要实现的目标是使我的appicon出现在装有Android Oreo及更高版本的设备上,而无需在此处看到白色圆圈。 All of the Appicons I create with Android studio have circle backgrounds like the Slack Icon, but its shrunk like the Kindle Icon and surrounded by the outer white circle. 我在Android Studio中创建的所有Appicons都有圆圈背景(例如Slack Icon),但像Kindle Icon一样缩水,并被外面的白色圆圈包围。

There is not much information (that I've found) pertaining to appcelerator specifically about these icons but what I have found seems to suggest that their is no support as of yet. 目前,关于这些图标的信息不多(我发现)与appcelerator有关,但是我发现似乎暗示它们目前尚不支持

Until recently I was able to simply change the targeted APK of my app to 25. This would revert back to the old appicon style, but as of November 1st the Google Play Store requires all new apps and app updates to target Android Android SDK 26 or higher which then uses the adaptive icons. 直到最近,我才能够将应用程序的目标APK更改为25。这将恢复为旧的appicon样式,但是自11月1日起,Google Play商店要求所有新应用程序和应用程序更新都必须针对Android Android SDK 26或更高,然后使用自适应图标。

Any guidance would be greatly appreciated. 任何指导将不胜感激。

Just create one new classic titanium project and run it then check the app icon "DefaultIcon.png" come with rounded circle. 只需创建一个新的经典钛项目并运行它,然后检查带有圆形圆圈的应用程序图标“ DefaultIcon.png”即可。

After run and get the thing is working fine according to your need, update your app icon according to "DefaultIcon.png" this is available in project hierarchy and replace with same name. 运行后,它可以根据您的需要正常运行,根据“ DefaultIcon.png”更新您的应用程序图标,该图标在项目层次结构中可用,并替换为相同的名称。

Please let me know again you have any issue. 请再次告诉我您有任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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