Set Text View ellipsize and add view more at end

前端 未结 13 1173

I am trying to set ellipsize of text view. using the following code. I want to add \"view more\" at the end of truncated string after 3 dots. If this would be possible with

13条回答
  •  时光取名叫无心
    2020-12-02 13:25

    Try using this library :)

    //Add this dependency into App Gradle

    implementation 'com.borjabravo:readmoretextview:2.1.0'
    

    Usage:

    
    

    Check This Link: https://github.com/bravoborja/ReadMoreTextView

提交回复
热议问题