Skip to content

RobertZagorski/MaterialInitials

Repository files navigation

Material Initials

An indicator that can be used as a background of person image or when it the is no image. Possibilities include every application that utilises human resources (numbers in contact apps, messages in chat applications, etc...)

Possibilities:

  1. Initials made from one pair of String:

    One pair

  2. Initials made from two pairs of String:

    Two pairs

  3. Initials made from three pairs of String:

    Three pairs

  4. Initials made from four pairs of String:

    Four pairs

  5. Three letter initials:

    Three letter pairs

  6. Customisable alpha of letters:

    Customisable alpha

  7. Black tinted letters:

    Black tinted letters

  8. Rotated letters:

    Rotated letters

Usage:

Add MaterialInitials view in your .xml

<com.rzagorski.materialinitials.MaterialInitials
    android:id="@+id/image"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>

or use MaterialInitialsDrawable dynamically in your code:

MaterialInitialsDrawable drawable = new MaterialInitialsDrawable();
image.setImageDrawable(drawable);

About

An Android view indicator composed of person`s initials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages