Skip to content

gorrotowi/SimpleRobotoTextView

Repository files navigation

Simple Roboto TextView

A simple Roboto View for your Android App writed in Kotlin

Gradle

dependencies {
    ...
    compile 'com.gorrotowi.simplerobototextview:simplerobototextview:0.8'
}

Maven

<dependency>
  <groupId>com.gorrotowi.simplerobototextview</groupId>
  <artifactId>simplerobototextview</artifactId>
  <version>0.8</version>
  <type>pom</type>
</dependency>

Usage

<com.gorrotowi.simplerobototextview.RobotoTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        app:font="regular" />

Also you can use

<com.gorrotowi.simplerobototextview.RobotoEditText
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        app:font="regular" />

<!-- OR -->

<com.gorrotowi.simplerobototextview.RobotoButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        app:font="regular" />

Fonts you can use

black
blackItalic
bold
boldItalic
italic
light
lightItalic
medium
mediumItalic
regular
thin
thinItalic
condensedBold
condensedBoldItalic
condensedItalic
condensedLight
condensedLightItalic
condensedRegular

About

Simple Kolin Library of Roboto Font

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published