Eliminate "..." from the key that has no popup mini keyboard automatically

Bug: 4340933
Change-Id: I08bbdee71f4bc2285fd0c1233d284150be61748e
This commit is contained in:
Tadashi G. Takaoka 2011-07-31 18:22:29 -07:00
parent 2ba975afb9
commit 0c6e57f2d1

View file

@ -630,7 +630,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
} }
// Draw popup hint "..." at the bottom right corner of the key. // Draw popup hint "..." at the bottom right corner of the key.
if (key.hasPopupHint()) { if (key.hasPopupHint() && key.mPopupCharacters != null && key.mPopupCharacters.length > 0) {
paint.setTextSize(params.mKeyHintLetterSize); paint.setTextSize(params.mKeyHintLetterSize);
paint.setColor(params.mKeyHintLabelColor); paint.setColor(params.mKeyHintLabelColor);
paint.setTextAlign(Align.CENTER); paint.setTextAlign(Align.CENTER);