EllipsizeTextView icon indicating copy to clipboard operation
EllipsizeTextView copied to clipboard

The EllipsizeTextView extends TextView, support omit (Ellipsize/Ellipsis) redundant characters in multiple lines situtation.

Results 8 EllipsizeTextView issues
Sort by recently updated
recently updated
newest added

- Update to AndroidX - ElipsizeTextview extends AppCompatTextView - Remove unused stuff - Fix When there is a \n at the end of a line, the ellipsis text (eg. read...

Hi Thanks for the excellent library. I am unable to add the library using gradle. ``` Attribute application@allowBackup value=(false) from AndroidManifest.xml:11:9-36 is also present at [com.dinuscxj:ellipsizetextview:1.0.5] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add...

The IDE tells you should do it, instead of extending TextView: ![image](https://user-images.githubusercontent.com/5357526/36716820-5f2d8c7e-1ba4-11e8-954e-3e82a7f97060.png)

To correctly import, I had to delete the "gradle-wrapper.properties" file, and update everything. Attached here the fixed project. [EllipsizeTextView.zip](https://github.com/dinuscxj/EllipsizeTextView/files/1759244/EllipsizeTextView.zip)

如果能预览就好了

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference at android.widget.Editor.touchPositionIsInSelection(Editor.java:825) at android.widget.Editor.performLongClick(Editor.java:926)

computeMaxLineCount方法需修改为 float availableHeight = getMeasuredHeight() + getLineSpacingExtra() - getPaddingTop() - getPaddingBottom();