Example usage for Java android.text.method DigitsKeyListener fields, constructors, methods, implement or subclass
The text is from its open source code.
DigitsKeyListener() Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9. | |
DigitsKeyListener(boolean sign, boolean decimal) Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9, plus the ASCII plus or minus sign (only at the beginning) and/or the ASCII period ('.') as the decimal point (only one per field) if specified. |
DigitsKeyListener | getInstance(@Nullable Locale locale) Returns a DigitsKeyListener that accepts the locale-appropriate digits. |
DigitsKeyListener | getInstance(@NonNull String accepted) Returns a DigitsKeyListener that accepts only the characters that appear in the specified String. |