Request focus before calling ShowInputMethod, closes #1132
This commit is contained in:
		| @@ -785,6 +785,8 @@ namespace keepass2android | ||||
| 		    } | ||||
|  | ||||
|             Util.SetNoPersonalizedLearning(FindViewById<EditText>(Resource.Id.password_edit)); | ||||
|              | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void InitializeToolbarCollapsing() | ||||
| @@ -1775,7 +1777,10 @@ namespace keepass2android | ||||
| 		        { | ||||
| 		            InputMethodManager keyboard = (InputMethodManager) GetSystemService(InputMethodService); | ||||
|                     if (showKeyboard) | ||||
|                     { | ||||
|                         pwd.RequestFocus(); | ||||
|                         keyboard.ShowSoftInput(pwd, 0); | ||||
|                     } | ||||
|                     else | ||||
| 		                keyboard.HideSoftInputFromWindow(pwd.WindowToken, HideSoftInputFlags.ImplicitOnly); | ||||
| 		        }, 50); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Crocoll
					Philipp Crocoll