Skip to content

NayaneshGupte/RobotoTypefaceManager

Repository files navigation

RobotoTypefaceManager

In your buld.gradle

compile project(':TypefaceManager')

Example:

  <com.typeface.custom.views.RobotoTextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:text="Roboto Thin Italic"
      app:typeface="roboto_thin_italic" />

  <com.typeface.custom.views.RobotoTextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:text="Roboto Regular"
      app:typeface="roboto_regular" />

  <com.typeface.custom.views.RobotoTextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:text="Roboto Medium"
      app:typeface="roboto_medium" />


  <com.typeface.custom.views.RobotoTextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:text="Roboto Bold"
      app:typeface="roboto_bold" />

About

Custom Typeface Manager with XML typeface attribute

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages