Closed mikehardy closed 1 year ago
hey ,I would like to work on this can you assign this issue to me
sure - thanks and good luck!
Odd. I thought that #13055 would have solved this
Great point @BrayanDSO ! That went through while I was away from the project and I haven't read through all the PRs yet, I didn't know about that. Seems that should have handled it, why didn't it !? Very curious.
For me it seems to be working fine.
I removed these 2 lines & still didn't have any warnings.
<!-- new with AGP7.4+, tracking in https://github.com/ankidroid/Anki-Android/issues/13197 -->
<issue id="MonochromeLauncherIcon" severity="ignore" />
Am I missing something? Or is this issue already fixed?
i want to work on this issue please assign me this issue
Hey i have tested this on android 13 emulator it behaves correctly. Could you be specific on which device it was not working @mikehardy. I have attached the screenshort of it.
hi mikehardy i want to work on this issue i.e creating monochorme icon could you assign it to me
@mikehardy Could you post the device/emulator settings which display this issue? A number of users have not been able to reproduce this
If anyone here has a reproduction case, it'd be great to post it
To be clear - it is not that I reproduced any particular issue on any particular device
What I had a problem with was upgrading gradle plugin and the lint check failing, as stated here:
They have added a lint check with gradle 7.4+ that verifies you have a monochrome icon, which we do not have yet
I'll be disabling that lint check (temporarily, the PR that closes this issue should re-enable it) in order to get https://github.com/ankidroid/Anki-Android/pull/13186 through
I had a lint failure - that is gradle failed the build because a lint check failed and I added this to make it pass lint:
That's it - that's all I know.
@n1snt indicates that it was unnecessary on further testing? https://github.com/ankidroid/Anki-Android/issues/13197#issuecomment-1425177312
So the possible outcome of this is simply: make a PR that reverts that commit and maybe that's it? Indicating that my testing of that commit was simply insufficient for some unknown reason
So David posted that PR (even better: converted it to a fatal actually) and it worked fine. Must have been something wrong in my process, my sincere apologies for everyone's wasted time here
Android 12+ has "Material You" which has monochrome icons as the base for all the color theme capabilities
They have added a lint check with gradle 7.4+ that verifies you have a monochrome icon, which we do not have yet
I'll be disabling that lint check (temporarily, the PR that closes this issue should re-enable it) in order to get #13186 through
Here is a good article explaining that we need someone to:
1) implement a monochrome version of the adaptive icon (I'm fine with a black and white version, personally) 2) decide if we need to keep the round icon. We may be able to remove it? Unsure. If it's not clear, leave it but make a monochrome version of it as well
https://proandroiddev.com/android-13-implementing-themed-icons-into-your-app-e7002f2c4e04
Here's the stackoverflow of interest as well: https://stackoverflow.com/questions/71109063/how-to-implement-a-themed-monochrome-icon-for-material-you