public class PasswordEntryKeyboard extends Keyboard
Keyboard.Key, Keyboard.Row
Modifier and Type | Field and Description |
---|---|
static int |
KEYCODE_SPACE |
EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT, EDGE_TOP, KEYCODE_ALT, KEYCODE_CANCEL, KEYCODE_DELETE, KEYCODE_DONE, KEYCODE_MODE_CHANGE, KEYCODE_SHIFT
Constructor and Description |
---|
PasswordEntryKeyboard(Context context,
int xmlLayoutResId) |
PasswordEntryKeyboard(Context context,
int layoutTemplateResId,
CharSequence characters,
int columns,
int horizontalPadding) |
PasswordEntryKeyboard(Context context,
int xmlLayoutResId,
int mode) |
PasswordEntryKeyboard(Context context,
int xmlLayoutResId,
int width,
int height) |
PasswordEntryKeyboard(Context context,
int xmlLayoutResId,
int mode,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
protected Keyboard.Key |
createKeyFromXml(Resources res,
Keyboard.Row parent,
int x,
int y,
XmlResourceParser parser) |
boolean |
isShifted()
Whether or not keyboard is shifted.
|
boolean |
setShifted(boolean shiftState)
Turn on shift mode.
|
createRowFromXml, getHeight, getHorizontalGap, getKeyHeight, getKeys, getKeyWidth, getMinWidth, getModifierKeys, getNearestKeys, getShiftKeyIndex, getShiftKeyIndices, getVerticalGap, setHorizontalGap, setKeyHeight, setKeyWidth, setVerticalGap
public static final int KEYCODE_SPACE
public PasswordEntryKeyboard(Context context, int xmlLayoutResId)
public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height)
public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode)
public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height)
public PasswordEntryKeyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding)
protected Keyboard.Key createKeyFromXml(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser)
createKeyFromXml
in class Keyboard
public boolean setShifted(boolean shiftState)
KeyboardView.invalidateKey(int)
or KeyboardView.invalidateAllKeys()
setShifted
in class Keyboard
shiftLocked
-