ahmed.hany

Adaptive Icons for MAS

0 votes

Dear team,

Anyone knows how to make the app icons for android to be adaptive? (i.e., no white-spaces around it even if the user changes the "Icon Shape" from developer options like from "Device Default" to "Square" or "Squircle")

 

Thanks


Reply to: Adaptive Icons for MAS

0 votes

 When I checked the file below, I found an answer.

\android-sdk-windows\platforms\android-O\data\res\drawable\sym_def_app_icon.xml <?<?*?encoding="utf-8" xml version="1.0">>The xmlns:android attribute specifies that the icon should display as such: <background android:drawable="@android:color/white" /> <foreground android:drawable="@mipmap/sym_def_app_icon_maskable" /> </adaptive-icon> Which is ultimately right I don't know. Adaptive-icon tag seems to work correctly for now (preview 1).


Reply to: Adaptive Icons for MAS

0 votes

Android 8.0 (API level 26) introduces adaptive launcher icons, which can display a variety of shapes across different device models. For example, an adaptive launcher icon can display a circular shape on one OEM device, and display a squircle on another device. Each device OEM provides a mask, which the system then uses to render all adaptive icons with the same shape. Adaptive launcher icons are also used in shortcuts, the Settings app, sharing dialogs, and the overview screen. RapidFS


Reply to: Adaptive Icons for MAS

0 votes

Android 8.0 (Programming interface level 26) presents versatile launcher symbols, which can show various shapes across various gadget models. For instance, a versatile launcher symbol can show a round shape on one OEM gadget, and show a squircle on another gadget. Every gadget OEM gives a cover, which the framework then uses to deliver all versatile symbols with a similar shape. Versatile launcher symbols are additionally utilized in easy routes, the Settings application, sharing exchanges, and the outline screen. RapidFS


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off