-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ribbon is not added to API 26 adaptive-icon #8
Comments
Yes, it is meant to work with adaptive icons :) The example configuration assumes you have a defined your adaptive icon in a way similar to this: <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon> Could you share the definition of your adaptive icon? |
Sure, it's very similar with yours, only that the background is another drawable, not a color: <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon> Could that be the problem? |
Yeah, you are just not pointing Please replace
|
Ha, rookie mistake, but probably I wouldn't have spotted the difference for a long time, thanks for pointing out to me. However, even with the correct resource, it still doesn't seem to work... I forgot to mention though, |
xD
True, I didn't add support for those... |
Cool, thanks for your time! I hope to see vector drawable support soon :D |
Hi! I tried out the plugin and it works great on devices with Nougat or lower, but it doesn't work with adaptive icons on Oreo. I only have debug and release build types, and I added this block in
app/build.gradle
right below theandroid
block:Is the plugin meant to support adaptive icons? Cheers!
The text was updated successfully, but these errors were encountered: