Skip to content

Commit

Permalink
Merge pull request #84 from Automattic/issue/76-emoji-disappear-scaling
Browse files Browse the repository at this point in the history
Setting TextView layertype as View.LAYER_TYPE_SOFTWARE
  • Loading branch information
mzorz authored Sep 1, 2019
2 parents 3d789ed + 7868e9d commit a5fb52c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class PhotoEditor private constructor(builder: Builder) :
textInputTv.text = text
textInputTv.setTextColor(colorCodeTextView)
textInputTv.setTextSize(TypedValue.COMPLEX_UNIT_SP, fontSizeSp)
textInputTv.setLayerType(View.LAYER_TYPE_SOFTWARE, null)
if (textTypeface != null) {
textInputTv.typeface = textTypeface
}
Expand Down

0 comments on commit a5fb52c

Please sign in to comment.