Skip to content

rambabusaravanan/material-text-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Text Icon

A Simple, Light Weight Text Icon Widget for Android ..

Tired of downloading every Material Icon images into every drawable folder ..?

It's now made simple as a Text widget with a single font. Now you can display 891 Material Icons with any size with any color in pretty simple lines as below ..

<com.rambabusaravanan.TextIcon
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/ic_cloud_download" />

and use color and size of the text icon as usual

    android:textColor="@color/button_material_dark"
    android:textSize="@dimen/icon_size"

Import Library

Download the latest AAR into app/libs folder and add the gradle scripts in project's build.gradle ..

repositories {
    flatDir {
        dirs 'libs'
    }
}

dependencies {
    // other dependencies you need ..
    compile(name:'texticon-v1', ext:'aar')
}

Preview in Android Studio

Sometimes, Android Studio may face difficulty in generting sample preview in preview pane. In such cases, download the font MaterialIcons-Regular.ttf into app/src/main/assets/font folder and try again ..

Download Sample

Download the latest APK, a handbook for all 891 Material Icons and give it a try ..

Releases

No releases published

Packages

 
 
 

Languages