银河 S7 牛轧糖完整图标
Galaxy S7 Nougat Full Icons
我想问一下如何在 Android 牛轧糖上更改我的应用程序在 Galaxy S7 运行 上的应用程序图标(参见随附的屏幕截图)以填充整个图标 space。
有办法吗?
编辑:我认为这是因为这些应用程序的图标是方形的,而我的是圆形的。有没有办法让它适合 Galaxy S7 Nougat 设备和所有其他设备?
此解决方案仅适用于用户端:
转到设置 -> 显示 -> 图标框架 -> 仅图标。
这应该会将图标更改为全尺寸图标。
来自https://developer.android.com/about/versions/nougat/android-7.1.html
Apps can now define circular launcher icons, which are used on devices that support them. When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration. Because of this, apps should make sure to define both android:icon
and android:roundIcon
resources when responding to launcher intents. You can use Image Asset Studio to design round icons.
虽然这可能不足以处理三星的 "special" 图标白框,但此 gif 显示了一些想法,用于创建无论是正常大小还是带框的图标都看起来不错 "Squircle"风格。
https://www.androidcentral.com/sites/androidcentral.com/files/article_images/2016/12/squircles.gif
无论如何,这意味着您现在不得不担心普通图标、圆形图标和三星化图标,并且无法为三星特定的启动器设计提供图标。
我遇到了同样的问题并尝试了各种方法。现在我发现了一件有趣的事。
如果您制作的图标没有任何透明度,则该图标将在牛轧糖上显示为全尺寸 android phone。当我在paint.exe中制作一个图标并保存为.png时,没有问题。
我想这会对你有所帮助。
编辑:下面是我遇到的,在我的评论中解释
EDIT2:两个图标(带透明度和不带透明度)的大小和形状相同。唯一的区别是一个有透明度,另一个有白色背景。绝对不是删透明度放大图的意思
EDIT3:关于我的图标的更多解释@Hadas
您可以通过向清单添加元数据元素来禁用此功能:
<application>
<meta-data android:name="com.samsung.android.icon_container.has_icon_container" android:value="true"/>
</application>
我想问一下如何在 Android 牛轧糖上更改我的应用程序在 Galaxy S7 运行 上的应用程序图标(参见随附的屏幕截图)以填充整个图标 space。 有办法吗?
编辑:我认为这是因为这些应用程序的图标是方形的,而我的是圆形的。有没有办法让它适合 Galaxy S7 Nougat 设备和所有其他设备?
此解决方案仅适用于用户端:
转到设置 -> 显示 -> 图标框架 -> 仅图标。 这应该会将图标更改为全尺寸图标。
来自https://developer.android.com/about/versions/nougat/android-7.1.html
Apps can now define circular launcher icons, which are used on devices that support them. When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration. Because of this, apps should make sure to define both
android:icon
andandroid:roundIcon
resources when responding to launcher intents. You can use Image Asset Studio to design round icons.
虽然这可能不足以处理三星的 "special" 图标白框,但此 gif 显示了一些想法,用于创建无论是正常大小还是带框的图标都看起来不错 "Squircle"风格。
https://www.androidcentral.com/sites/androidcentral.com/files/article_images/2016/12/squircles.gif
无论如何,这意味着您现在不得不担心普通图标、圆形图标和三星化图标,并且无法为三星特定的启动器设计提供图标。
我遇到了同样的问题并尝试了各种方法。现在我发现了一件有趣的事。
如果您制作的图标没有任何透明度,则该图标将在牛轧糖上显示为全尺寸 android phone。当我在paint.exe中制作一个图标并保存为.png时,没有问题。
我想这会对你有所帮助。
编辑:下面是我遇到的,在我的评论中解释
EDIT2:两个图标(带透明度和不带透明度)的大小和形状相同。唯一的区别是一个有透明度,另一个有白色背景。绝对不是删透明度放大图的意思
EDIT3:关于我的图标的更多解释@Hadas
您可以通过向清单添加元数据元素来禁用此功能:
<application>
<meta-data android:name="com.samsung.android.icon_container.has_icon_container" android:value="true"/>
</application>