ExpandableTextView
Custom expadable text view
Examples :
<mostafa.projects.expandabletextview.ExpandableTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:underlineColor="@color/brubble"
android:padding="10dp"
android:text="Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World"
app:underlineMaxlines="3" />
Getting Started
Step 1: Add it to build.gradle (project level) at the end of repositories:
allprojects
{
repositories
{
maven { url 'https://jitpack.io' }
}
}
Step 2 : Add the dependency
implementation 'com.github.MostafaGad1911:ExpandableTextView:1.0.0'