gradle-android-appiconoverlay
gradle-android-appiconoverlay copied to clipboard
Doesn't work on Oreo with Adaptive Icons
I'm seeing some issues with the font size and label position. Here's an image to illustrate:
The icon on the dev version of the app has the overlay but it looks cropped and the font size is too big. In the previous versions the overlay was on top of the icon image, irrelevant of the shape.
Also if the launcher icon shape is set to Circle, the overlay is even more cropped - basically it is cropped to whatever is the shape of the launcher icons.
Here's my build.gradle config for android and for the plugin:
appiconoverlay {
textColor '#FFF'
backgroundColor "#0008"
format VERSION_NAME
imageMagick path_to_convert
}
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
...
minSdkVersion 21
targetSdkVersion 26
...
}
....
}
I'm also using Oreo's new system for icon shapes with layers. Not sure if that's relevant but just in case I'm mentioning it here.