Android TextView ellipsize end with unicode emoji

orange01

I have a list item with a TextView. The TextView can also contain some unicode emoji, but when I say android:ellipsize="end" one of the emoji may be cut and there will be a square with a '?'.

How can I prevent cutting unicode codes?

Here is my layout file:

<TextView
    ...
    android:ellipsize="end"
    android:lines="1"
    ... />
Joy Helina

Try this. It may be help you.

android:singleLine="true"
android:ellipsize="marquee" 
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true" 
android:focusable="true" 
android:focusableInTouchMode="true

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to set unicode in textview to show emoji in android?

From Dev

How to show two Textview with ellipsize end in horizontal Linearlayout in android?

From Dev

Android TextView with multiline and "android:ellipsize = middle"

From Dev

android:ellipsize="end" and android:maxEms not working

From Dev

Android:ellipsize end - Extra Characters after Ellipsis

From Dev

Cannot display a Unicode character (Emoji) in an Android TextView with large text: "Font size too large to fit in cache"

From Dev

How do I get an overflowed TextView to work with android:ellipsize="start"?

From Dev

How to fix text overflowing TextView with padding android:ellipsize="marquee"

From Dev

Two TextView impliment count information after short title and long title(ellipsize end)

From Dev

TextView ellipsize not work inside RelativeLayout

From Dev

TextView ellipsize not work inside RelativeLayout

From Dev

Android - How to append the textview to the end of another textview?

From Dev

How to get system Android emoji drawable by unicode character?

From Dev

NSString to Emoji Unicode

From Dev

Setting textIsSelectable on TextView with marquee ellipsize adds ellipse

From Dev

TextView's ellipsize not working on maxLines = 1

From Dev

TextView's ellipsize not working on maxLines = 1

From Dev

Android: TextView, unicode character not shown properly

From Dev

Add a Textview dynamically at the end of listview in android

From Dev

Inconsistent Unicode Emoji Glyphs/Symbols

From Dev

Adding emoji reaction by unicode not working

From Dev

Does Android support Windows fonts? and how to write Unicode text into a textview?

From Dev

In android ellipsize text view between buttons

From Dev

text ellipsize behavior in android version < 6.0

From Dev

Set Text View ellipsize and add view more at end

From Dev

Show Emoji Keyboard On Android?

From Dev

Android Yes No Button emoji

From Dev

Android Keyboard with Emoji

From Dev

Emoji from android to web

Related Related

  1. 1

    How to set unicode in textview to show emoji in android?

  2. 2

    How to show two Textview with ellipsize end in horizontal Linearlayout in android?

  3. 3

    Android TextView with multiline and "android:ellipsize = middle"

  4. 4

    android:ellipsize="end" and android:maxEms not working

  5. 5

    Android:ellipsize end - Extra Characters after Ellipsis

  6. 6

    Cannot display a Unicode character (Emoji) in an Android TextView with large text: "Font size too large to fit in cache"

  7. 7

    How do I get an overflowed TextView to work with android:ellipsize="start"?

  8. 8

    How to fix text overflowing TextView with padding android:ellipsize="marquee"

  9. 9

    Two TextView impliment count information after short title and long title(ellipsize end)

  10. 10

    TextView ellipsize not work inside RelativeLayout

  11. 11

    TextView ellipsize not work inside RelativeLayout

  12. 12

    Android - How to append the textview to the end of another textview?

  13. 13

    How to get system Android emoji drawable by unicode character?

  14. 14

    NSString to Emoji Unicode

  15. 15

    Setting textIsSelectable on TextView with marquee ellipsize adds ellipse

  16. 16

    TextView's ellipsize not working on maxLines = 1

  17. 17

    TextView's ellipsize not working on maxLines = 1

  18. 18

    Android: TextView, unicode character not shown properly

  19. 19

    Add a Textview dynamically at the end of listview in android

  20. 20

    Inconsistent Unicode Emoji Glyphs/Symbols

  21. 21

    Adding emoji reaction by unicode not working

  22. 22

    Does Android support Windows fonts? and how to write Unicode text into a textview?

  23. 23

    In android ellipsize text view between buttons

  24. 24

    text ellipsize behavior in android version < 6.0

  25. 25

    Set Text View ellipsize and add view more at end

  26. 26

    Show Emoji Keyboard On Android?

  27. 27

    Android Yes No Button emoji

  28. 28

    Android Keyboard with Emoji

  29. 29

    Emoji from android to web

HotTag

Archive