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

Where to find icons for androidIconName prop #90

Open
JohnSawiris opened this issue Jun 22, 2024 · 7 comments
Open

Where to find icons for androidIconName prop #90

JohnSawiris opened this issue Jun 22, 2024 · 7 comments

Comments

@JohnSawiris
Copy link

It is challenging to find icons for android, I was able to find this list but a lot of the icons there don't work with the androidIconName prop. Is the list of icons I linked to above the intended list to use or is there a different one?

@dedanmsafari
Copy link

Also how can i use Ionicons on Zeego...Am aiming for parity on both android and ios.....Having to use different icons for both platforms simply is good DX for me

@nandorojo
Copy link
Owner

I believe the list is the official Material icons from Google.

To use Ionicons you’d need to use ItemImage

@JohnSawiris
Copy link
Author

Thanks @nandorojo

@dedanmsafari
Copy link

dedanmsafari commented Jun 24, 2024

@nandorojo According to the documentation you state that ItemImage are not yet supported on Android..An example would be highly aprreciated.Thank you

@dedanmsafari
Copy link

Thanks @nandorojo

Where you able to get the Icons from material-icons to work?..if so please post a snippet i would highly appreciate. on my end only drawables work..on hover the prop states that

"The name of an android-only resource drawable. For a full list, see https://developer.android.com/reference/android/R.drawable.html.

@platform — android"

@JohnSawiris
Copy link
Author

JohnSawiris commented Jun 24, 2024

Thanks @nandorojo

Where you able to get the Icons from material-icons to work?..if so please post a snippet i would highly appreciate. on my end only drawables work..on hover the prop states that

"The name of an android-only resource drawable. For a full list, see https://developer.android.com/reference/android/R.drawable.html.

@platform — android"

@dedanmsafari I haven't gotten around to it yet but If I get something working I'll post it. I was going to try ItemImage instead of fiddling around with androidIconName.

@nandorojo do you mean this list? If yes, then none of them didn't worked in my case.
In this example it appears to use the icons from Drawable not from Material Icons.

@Anubiso
Copy link

Anubiso commented Sep 2, 2024

I only found a list here:
https://web.archive.org/web/20171031105029/http://androiddrawables.com:80/
but most of these icons are really old and ugly.
Nesting a icon directly into ItemIcon doesn't work on Android. Using ItemImage doesn't work on Android.
So we are stuck with the old icons, showing no icons at all on android or rendering a completely different component on android.

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

4 participants