Skip to content

Large Emoji Sizing in TextView #6

@colorgold

Description

@colorgold

In the MojiInputLayout, the emojis appear large. However, once I try to display them in the Textview, the emojis appear really small. I followed the example which contains this code:

`//First I get the input to send over to my server as plain text
String html = Moji.toHtml(outsideMojiEdit.getText());
String plainText = Moji.htmlToPlainText(html);

//I then option the plain text in my recyclerview to display in my viewholders' Textview
Spanned spanned = Moji.plainTextToSpanned(plainText);
//Display the content in my TextView
viewholder.textview.setTag(R.id._makemoji_text_watcher, Moji.getDefaultTextWatcher());
Moji.setText(spanned,textview);`

I am applying the text watcher to my textview to modify the size of the first 3 emojis as per the instructions, but it does not seem to work; all emojis appear small.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions