Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ellipsis for emojicon #48

Closed
seema7 opened this issue Feb 21, 2015 · 11 comments
Closed

Ellipsis for emojicon #48

seema7 opened this issue Feb 21, 2015 · 11 comments

Comments

@seema7
Copy link

seema7 commented Feb 21, 2015

when i enter more emojicons and they are out of the view then I am not able to show ellipsis. I tried android:singleLine="true"
android:ellipsize="end"
but not working.
Please help.

@daniele-athome
Copy link
Contributor

It happens with Android stock apps too. Seems to be a limitation of some kind. I tried to look for a solution, didn't find any.

@rockerhieu
Copy link
Owner

I can see the ellipsize just fine:

<com.rockerhieu.emojicon.EmojiconTextView
    app:emojiconSize="18dp"
    tools:text="Hey man, do you see 😁 😁 😁 😁 😁 😁 😁 😁 "
    android:lines="1"
    android:ellipsize="end"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

Maybe you could find the answer here: http://stackoverflow.com/questions/6768977/text-does-not-ellipsize

@daniele-athome
Copy link
Contributor

@rockerhieu did you try by placing more letters (so the letters overflow) and some emojis at the end? In some cases (such as a ListView item) you can a half emoji at the end. But that's probably a different case from the one OP described.

@seema7
Copy link
Author

seema7 commented Feb 23, 2015

@rockerhieu I tried your solution and it works only when text is there at the end not for emojicons.
Half emoji is displayed when Emoji is at the end or emojis that are out of the view. Please help.
screenshot_2015-02-23-10-49-49

@AttITuder
Copy link

@daniele-athome How did you solve the problem at last?

@AttITuder
Copy link

@rockerhieu when i enter more emojicons and they are out of the view then I am not able to show ellipsis.Please help.

@daniele-athome
Copy link
Contributor

daniele-athome commented Jun 16, 2017

@AttITuder I did not solve it.

@AttITuder
Copy link

@daniele-athome How did you deal with it?

@daniele-athome
Copy link
Contributor

The bug is still there :-(

@jayronlou
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants