You can now fit your textview automatically and even by using these library you can directly customize your font through XML implementation. You can check sample folder for futher explanation.
- Must use AndroidX
- Kotlin Supported
allprojects {
repositories {
maven { url 'https://www.jitpack.io' }
}
}
dependencies {
implementation 'com.github.debojyoti452:UltimateTextView:Tag'
}
<com.dev452.ultimatetextview.UltimateTextView
android:id="@+id/textViewDemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/app_name"
android:textSize="22sp"
android:maxLines="3"
app:UTVAutoFitEnabled="true"
app:UTVFonts="@string/exo_semibold"
app:UTVMinTextSize="12sp"
app:UTVSingleLine="false" />
- Fade In Animation
- Bold, Italic, Strike Features
GNU General Public License v3.0 Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
Feel free to pull request.
Find this library useful? ❤️ Support it by joining stargazers for this repository. ⭐️