Skip to content
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

Upgrade mikepenz icons dependency, without the icons disappearing #473

Open
oliverlockwood opened this issue Apr 28, 2021 · 4 comments
Open
Assignees
Milestone

Comments

@oliverlockwood
Copy link
Member

See #471 and #472.

@HilaryN
Copy link
Contributor

HilaryN commented May 3, 2021

I know you've self-assigned this but I just want to share my findings so far (though no harm in you confirming as I could have made a mistake):

  • The icons disappear when you upgrade from 5.0.3 to 5.1.0 (i.e. prior to 5.2.8)
  • The menu option is there, even though you can't see it - you can tap on it and LiveRide will start (luckily, as I only realised the icons were missing when I was part-way through a journey and wanted to start LiveRide when I got to the bit of route I didn't know!)
  • I reproduced the same thing by creating an Empty (Hello World) Activity app with an options menu copied from CycleStreets. Icons were there when I used 5.0.3 (though strangely I had to rotate the emulator screen back and forth before they would appear) and disappeared when I changed to 5.2.8.
  • No difference between Android 9 and 10.
  • I can get the icons to appear using IconicsDrawable function, but I don't understand why this needs to be used. It's as though the "app:ico"... xml attributes are being ignored. (If I use IconicsDrawable without setting size to 24dp the icon appears quite small, despite size being set to 24dp in the xml)
  • I tried comparing IconicsMenuInflaterUtil.kt 5af2820 and 031c523 (5.0.3 --> 5.1.0) but couldn't see any changes.

@oliverlockwood
Copy link
Member Author

You are welcome to assign this to yourself if you'd like to work on it. Not likely to be an imminent priority for me!

My first step would be to look through the release notes / changes documented in the iconics library itself, to see if I could find clues.

@HilaryN
Copy link
Contributor

HilaryN commented May 3, 2021

Yes, I tried looking through the notes, and through the issues, but nothing jumped out at me, though I'm trying to follow up on some vague possibilities :-(

@HilaryN
Copy link
Contributor

HilaryN commented Jun 3, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants