JoanZapata / android-iconify

Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,...
http://joanzapata.com/android-iconify
Other
3.93k stars 527 forks source link

Support search icons and find similar icons #166

Open baurine opened 8 years ago

baurine commented 8 years ago

support search icons

the result screenshot:

1 pic_hd

2 pic_hd

keunes commented 8 years ago

Cool :) Does it only search on the icon name, or can it also (be extendable and) search on 'tags'? If tags or sth aren't supported, it's hard to find all possibly relevant icons (eg would one find 'md-tap-and-play' if on searched for 'stream'?)

baurine commented 8 years ago

@keunes now it just support search by icon name. I also want to support search by tags, but it seems not very easy and can quick implement.

baurine commented 8 years ago

now support find similar icons when you click any icon.

the final screenshot:

00_search_fab

01_search

02_similar_icons

MarcinOrlowski commented 8 years ago

@baurine Can you provide APK for easy test?

baurine commented 8 years ago

@MarcinOrlowski of course, here it is:

android-iconify-sample-debug.apk.zip

MarcinOrlowski commented 8 years ago

Thanks. Aside from odd "X" clear button location it seems to work.

search

MarcinOrlowski commented 8 years ago

There's small bug though - activity is not resized when IME opens, therefore some icons remain invisible. Yet is shall be sufficient to add

android:windowSoftInputMode="adjustResize"

to fix that.

baurine commented 8 years ago

@MarcinOrlowski what's your phone model and android version? in my phone has no this problem.

MarcinOrlowski commented 8 years ago

It's on emulator, running Android 6.0

baurine commented 8 years ago

@MarcinOrlowski I tried in Android 6.0 emulator, it is true like what you said, but I don't know whether it works normal in Android 6.0 physical device. maybe we can fix it after this pr is merged.