Specifically pretty capable VectorDrawable support. Actually minSDK is 26īecause adaptive icons are only used on API 26+, you can rely on certain features being available to you. You also need to build your apk with buildToolsVersion 26.0.0 or higher. You can do so using this format: Įach drawable must be 108dp*108dp in size background drawables must be opaque whilst foregrounds can contain transparency. You’ll likely never need to work with the class directly, but to define it in XML and point to it from your manifest. Adaptive icons are a new drawable type, namely AdaptiveIconDrawable.
0 Comments
Leave a Reply. |