Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
- InputConnection connection = super.onCreateInputConnection(outAttrs);
- if ((outAttrs.inputType & InputType.TYPE_CLASS_NUMBER) == InputType.TYPE_CLASS_NUMBER)
- {
- outAttrs.inputType |= InputType.TYPE_NUMBER_FLAG_DECIMAL;
- }
- return connection;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement