Skip to content
Ivan Kocijan edited this page Oct 13, 2015 · 1 revision

All Views support adding a horizontal letter spacing between characters. To use it just add layout_spacing attribute. Attribute value is a float and it should be between 0 and 1.

<com.ivankocijan.magicviews.views.MagicTextView
    android:layout_height="wrap_content"
    android:layout_width="wrap_content"                
    app:letter_spacing="0.5"
    app:typeFace="open_sans_regular.ttf"/>

Clone this wiki locally