-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
ic_menu_white is in Bitmap mode #154
Comments
Can you point to a specific file in the repo so I can take a look? |
Inside navigation folder, all file with name ic_menu_white_xxdp.png. It shows perfectly when viewed using browser, but when I import it for Android Project, there's black background and when I open it using Photoshop the image mode is in Bitmap, not Grayscale like the others. I just found out today that there are other files like that :
|
Interesting. I'll take a look. |
Not only this icons, but also i.e. x(x)(x)hdpi ic_add_white_24(36)(48)dp.png has only 1 bit color depth (18dp version is ok). |
This looks related to issue #137 Can you let us know where you're finding these icons incorrectly rendering? Is it only in Android Studio? Or do you see it in your apps too? Note this bug against Android Studio: https://code.google.com/p/android/issues/detail?id=178071 |
I see it in my apps too not only in Android Studio. |
We'll take a look. Thanks @hidrodixtion. |
@hidrodixtion, we haven't been able to reproduce. Would you mind sending us more information about how you're using the icon? |
I'm using android-drawable-importer-intellij-plugin This is how it looks like in android studio: (ic_stop_white) This is how it looks like in my app: (on floating action button) |
@hidrodixtion You might try copying the files into your project directly, and not using that importer tool. |
The assets have been updated since this issue was reported, so I believe this should be fixed. If not, feel free to reopen this issue or create a new one with more information. |
ic_menu_white has black background and turned out it is saved in Bitmap mode, not in Grayscale mode. Thus it doesn't have transparent background.
The text was updated successfully, but these errors were encountered: