Skip to content

A library to achieve justified TextView for both RTL and LTR texts

License

Notifications You must be signed in to change notification settings

arefbhrn/JustifiedTextView

Repository files navigation

Justified TextView

A library to achieve justified TextView for both RTL and LTR texts.

Installation

Gradle

AndroidX library version:

dependencies {
    implementation 'com.github.arefbhrn:JustifiedTextView:1.0.6'
}

android.support library version:

dependencies {
    implementation 'com.github.arefbhrn:JustifiedTextView:1.0.5'
}

Usage

Include this library in your layout

<com.arefbhrn.justifiedtextview.JustifiedTextView
    android:id="@+id/jtvSample"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:text="@string/long_text" />

Contact me

If you have a better idea or way on this project, please let me know, thanks :)

Email

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details