android - 如何删除像素等谷歌设备中的白色圆形边框

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

任何人都知道如何在谷歌像素中制作没有白色边框的圆形图标。我可以看到 chrome 图标没有圆形边框。如何让它有帮助?

您可以在屏幕截图中看到,Google Chrome 图标看起来已被完全占用,但其他突出显示的图标却没有。

Screehshot of how icons looks

最佳答案

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

  1. 转到 tiapp.xml
  2. 编辑 android->mainfest->application 元组

以前是:

<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

关于android - 如何删除像素等谷歌设备中的白色圆形边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62317911/

相关文章:

java - 调整文本按钮 LibGDX 的大小

titanium - 将使用 Titanium 开发的 Android 应用程序部署到 Google Play 商店的步骤

javascript - 如何组合这个值并添加到 TableView 行中?

appcelerator - Titanium CLI 选择 iPhone 类型

appcelerator - 全新安装后无法打开 Appcelerator Studio

Android 文字阴影单位

android - 选择自定义表盘时黑屏

android - 阿拉伯数字显示不正确

android - 使用Titanium AudioPlayer使用RTSP媒体服务器播放音频(mp3文件)流

ios - 我正在尝试使用 xCode 4.4 构建存档应用程序,但出现此错误