AdaptiveIconView
AdaptiveIconView copied to clipboard
A library to allow easy implementation of pre-Oreo adaptive icon support in Android launchers.
How can I do it? I want to merge the background and foreground of it to a single bitmap/drawable, but it doesn't let me...
This seems weird: ``` private static float[] getFloats(String s) { if (s.charAt(0) == 'z' | s.charAt(0) == 'Z') { return new float[0]; } ``` I think you meant to use...
With apps like ZEDGE and some other the background is ignored. You can add try/catch to these lines in AdaptiveIcon.java to fix that: ``` try { iconName = resources.getResourceName(manifestParser.getAttributeResourceValue(ANDROID_SCHEMA, "icon",...
May not be the case but assuming as a long click listener does nothing on an adaptiveIconView in recyclerview. Longclick is detected in the itemview layout surrounding adaptiveIconView. More investigation...
Probably redundant with Material Components Badge Drawable on its way out but having an option you know works is always good. An optional badge or dot indicator for the view....
Why is the library module called "library" when all of my other projects give the module the same name as the artifact id? WHY DID I DO THIS??? I must...
Option to guess the shape of a legacy icon and dynamically resize it to fit inside the shape of the clip path. This is already _kind of_ done using the...
It shows off the functionality in some remotely reasonable manner, but other than that is actually pretty buggy and takes a long time to launch because idk maybe the developer...
This will not be implemented in the initial release simply because I'm lazy and have suddenly acquired a strong dislike for XML parsing. It is a relatively important feature, though,...