FoldText_Java

自定义折叠TextView

Step 2

setText()

方法二控件为FoldTextView。

Step 1

 <com.example.zzh.foldtext.FoldTextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="#fff"
                android:textColor="#000"
                app:showMaxLine="4"
                app:showTipAfterExpand="true"
                app:tipClickable="true"
                app:tipColor="@color/colorPrimary"
                app:tipGravity="0" />

Step 2

setText()

详细请戳这里

License

MIT