如何在像素等Google设备中删除白色圆形边框

时间:2020-06-11 05:51:29

标签: android titanium appcelerator-titanium titanium-alloy google-pixel

任何有想法的人都如何在Google像素中制作不带白色边框的图标。我可以看到chrome图标没有圆形边框。如何提供帮助?

您可以在屏幕截图中看到google chrome图标看上去完全被占用,而其他突出显示的图标却没有。

Screehshot of how icons looks

1 个答案:

答案 0 :(得分:2)

我在这里得到的答案是步骤

  1. 转到tiapp.xml
  2. 编辑android-> mainfest->应用程序翻页

以前是:

<application android:theme="@style/Theme.connectMobileTheme" >

更改后:

<application android:theme="@style/Theme.connectMobileTheme" android:roundIcon="@mipmap/ic_launcher_round"  android:icon="@drawable/appicon" >

这将操纵/Projects/titanium/build/android/AndroidManifest.xml文件以应用。

为此,您需要在/Projects/titanium/platform/android/res/内维护图标

Screenshot of file structure

在此文件夹中维护图标。

参考: https://jira.appcelerator.org/browse/TIMOB-24659 https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive