akaita / easylauncher-gradle-plugin

Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will
Apache License 2.0
959 stars 52 forks source link

Wrong label position in flavor with custom icon #41

Open chinbri opened 5 years ago

chinbri commented 5 years ago

Hi,

There is an issue when there is a flavor that not use the app's default icon. The position of the labels are wrong.

In my app I have two labels, one top and one bottom. Using the icon as app's default (main folder). Everything works ok:

image

But if the flavor's icon is custom, different from the default one, the label's positions change:

image

Both cases using the same image resources.

This is the configuration

myFlavor { filters = customColorRibbonFilter("GE", "#00cc00", "#FFFFFF", "top", 0.20) filters = customColorRibbonFilter("QA-WHI", "#00cc00", "#FFFFFF", "bottom", 0.20) }