mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Partially revert I0fa5eefc
bug: 5344295 Change-Id: Idb10e37862773a62ff60afe874844e8968a58b5d
This commit is contained in:
parent
141c62192b
commit
c9f562a9a4
@ -237,7 +237,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
|
||||
paint.setTextSize(textSize);
|
||||
paint.setColor(color);
|
||||
final Rect bounds = new Rect();
|
||||
paint.getTextBounds(MORE_SUGGESTIONS_HINT, 0, 1, bounds);
|
||||
paint.getTextBounds(MORE_SUGGESTIONS_HINT, 0, MORE_SUGGESTIONS_HINT.length(), bounds);
|
||||
final int width = Math.round(bounds.width() + 0.5f);
|
||||
final int height = Math.round(bounds.height() + 0.5f);
|
||||
final Bitmap buffer = Bitmap.createBitmap(
|
||||
|
Loading…
Reference in New Issue
Block a user