Open irsalshabirin opened 8 years ago
Why don't you just get drawable from assets?
I'm with @alashow on this. Loading the drawable from assets is quite trivial. If there's another reason for this feature request, please let us know.
I'm sorry before, @alashow setIcon() just have a parameter int resId, can you give an example to setIcon with Drawable ?
@vikramkakkar I want to display the image with its original color.
I apologize for my last comment. I was under the impression that SublimeBaseMenuItem
exposes a setIcon(Drawable)
method. Turns out that it doesn't.
I will be adding this method in the next update.
I want to display the image with its original color.
The setIcon(Drawable)
method will not fix this. All icons are tinted, and that's why they appear to have 'lost' color. Let me see if I can disable tinting on a per item basis.
please give this feature, thanks before 👍