0

I want to justify the text inside ReadMoreTexView like in Word.I am using ReadMoreTextView for adding Readmore functionality, but i want the text inside the ReadMoreTextView to be justified.

`<kr.co.prnd.readmore.ReadMoreTextView
    android:id="@+id/hikayatStory"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginStart="24dp"
    android:layout_marginHorizontal="20dp"
    android:layout_marginTop="16dp"
    android:layout_marginEnd="36dp"
    android:layout_marginBottom="16dp"
    android:fontFamily="@font/hoftype_capricho_light"
    android:paddingBottom="32dp"
    android:text=""
    android:inputType="textMultiLine"
    android:textScaleX="1.1"
    android:layout_gravity="center_horizontal"
    android:gravity="center"
    android:breakStrategy="balanced"
    android:textAlignment="center"
    android:justificationMode="inter_word"
    android:textColor="@color/black"
    android:textSize="16sp"
    app:readMoreColor="#4169e1"
    app:readMoreMaxLine="16"
    app:readMoreText="...Read More"
    />`

i have tried textJustificationMode=true ,textAllignment=center,centerHorizonal , android:breakStrategy="balanced" .i am using this dependecy for ReadMoreTextView

implementation 'kr.co.prnd:readmore-textview:1.0.0'

0 Answers0