Skip to content

Commit

Permalink
* Fix background color
Browse files Browse the repository at this point in the history
* Fix keyboard hide on disable
* Add password example
  • Loading branch information
mops committed Apr 19, 2018
1 parent 5efae64 commit 161b997
Show file tree
Hide file tree
Showing 6 changed files with 555 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ private void Create(int id, JSONObject data) {
}
if (multiline) editInputType |= InputType.TYPE_TEXT_FLAG_MULTI_LINE | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
switch (inputType) {
case "AutoCorrect" : editInputType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; break;
case "Password" : editInputType |= InputType.TYPE_NUMBER_VARIATION_PASSWORD | InputType.TYPE_TEXT_VARIATION_PASSWORD ; break;
case "AutoCorrect" : editInputType |= InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; break;
case "Password" : editInputType |= InputType.TYPE_CLASS_TEXT | InputType.TYPE_NUMBER_VARIATION_PASSWORD | InputType.TYPE_TEXT_VARIATION_PASSWORD ; break;
}
break;
default : editInputType |= InputType.TYPE_CLASS_TEXT; // No action
Expand Down
Binary file modified Unity/Assets/Plugins/Android/MobileInput.aar
Binary file not shown.
4 changes: 2 additions & 2 deletions Unity/Assets/Plugins/Android/MobileInput.aar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 161b997

Please sign in to comment.