question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some emojis small size (wrong size)

See original GitHub issue

Hello, I’m using the TwitterEmoji and lib version v0.5.1, and everything works perfect.

But now, we are migrating to the iOS emojis, and lib v0.6.0. The problem is, some emojis are resized to the min size (no clue why some works, others no) If I change the icon (wrong resize) to the iOS version using the last lib with iOS emojis. Then it will show it perfect on new version with iOS or in 0.5.1 with TwitterEmoji version.

Looking at https://unicode.org/emoji/charts/full-emoji-list.html we are seeing some problem could appear by “detective” vs “man detective”. But other are weird, because are just one “clamp”

My view is this, the same on old version and new version

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/userEmoji"
            android:layout_width="@dimen/emoji_text_size" -> 60dp
            android:layout_height="@dimen/emoji_text_size"
            android:gravity="center"
            android:minHeight="@dimen/emoji_size"
            android:minWidth="@dimen/emoji_size" -> 44dp
            app:emojiSize="@dimen/emoji_size"
            app:layout_constrainedHeight="true"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintDimensionRatio="1:1"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            tool:text="🤗" />

I have tried the README tip with lineHeight but it doesn’t change anything even on a new brand and no extra params EmojiTextView on other layout.

As extra point, the emojis with this result on some blurry icons by the resize, while on the old version with Twitter (maybe because are much plain) doesn’t appear to be blurry.

Thank’s for this great lib!.

emojiissue

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mariocommented, Mar 5, 2019

Can I ask why is EmojiTextView used for this anyway? For your usecase EmojiImageView looks better…

0reactions
Sulfkaincommented, Mar 27, 2019

Ok, thanks. @mario could you throw more info about that class and if you could resolve the questions will be really apreciate.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

can emoji symbols be enlarged - Apple Community
Yes, the size of emojis can be set just like text. Select the emoji and change the font size. After you enlarge the...
Read more >
Learn How To Make Emojis Bigger Or Smaller On iPhone
You can make emojis bigger in the messages app by tapping the globe icon or smiley face icon to access the emoji keyboard....
Read more >
Emojis won't scale beyond 16px font-size on IOS 7
This ensures that the iPhone scales the content up to fit the 640 pixels (or more) the screen has, and the emojis with...
Read more >
Why are some emoji B&W and others too big?
The "correct" solution is to fix the browser and/or Noto so that the scaling of Noto emoji in the browser is correct. Additionally,...
Read more >
20 Emojis You've Been Using Wrong | SELF
The Chicken Emojis. What they really mean: chicken and rooster. How are we supposed to tell the poultry difference on a size ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found