UltimateTextView
Version
Tag = 1.0
Sample
Description
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.
Requirement
- Must use AndroidX
- Kotlin Supported
Installation
Project Level Gradle
allprojects {
repositories {
maven { url 'https://www.jitpack.io' }
}
}
App Level Gradle
dependencies {
implementation 'com.github.debojyoti452:UltimateTextView:Tag'
}
Code Sample
XML Implementation
<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" />
Future Development
- Fade In Animation
- Bold, Italic, Strike Features
License
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.
Contribution
Feel free to pull request.
Find this library useful?