am 4009e4de: am c1ebf8ee: am 81f9a0d8: am a289e139: am b0dd5cc7: Fix the ellipses image scaling of LatinIME
* commit '4009e4dede2be5f12bedffb9139a4eb7d6b88978': Fix the ellipses image scaling of LatinIMEmain
commit
ecc0969ba0
|
@ -191,7 +191,9 @@ final class SuggestionStripLayoutHelper {
|
|||
final Bitmap buffer = Bitmap.createBitmap(width, (height * 3 / 2), Bitmap.Config.ARGB_8888);
|
||||
final Canvas canvas = new Canvas(buffer);
|
||||
canvas.drawText(MORE_SUGGESTIONS_HINT, width / 2, height, paint);
|
||||
return new BitmapDrawable(res, buffer);
|
||||
BitmapDrawable bitmapDrawable = new BitmapDrawable(res, buffer);
|
||||
bitmapDrawable.setTargetDensity(canvas);
|
||||
return bitmapDrawable;
|
||||
}
|
||||
|
||||
private CharSequence getStyledSuggestedWord(final SuggestedWords suggestedWords,
|
||||
|
|
Loading…
Reference in New Issue