i developing android app. in app, want play icons. tried import icons project import font-awesome in web development. searched online , followed link(how import set of icons android studio project). after install it, restarted android studio. when search android importer plugin under other settings, cannot find it. please see screenshot below.
i pretty sure installed successfully. please check screenshot below.
so why cannot find it? please how can import icons project in android studio please? thanks. using android studio 1.4 .
i use mikepenz library use font-awesome icons
https://github.com/mikepenz/android-iconics
add file build.gradle
compile 'com.mikepenz:fontawesome-typeface:4.5.0.1@aar'
example xml
<com.mikepenz.iconics.view.iconicsimageview android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="2" android:id="@+id/img_addcart" app:iiv_size="25dp" app:iiv_color="@color/md_blue_grey_300" app:iiv_icon="faw-cart-arrow-down" />
or code
icon = new iconicsdrawable (getcontext ()) .icon (fontawesome.icon.faw_star) .color (contextcompat.getcolor (getcontext () r.color.md_yellow_600)) .sizedp (25); ((iconicsimageview) view) .seticon (icon)
Comments
Post a Comment