Always show the keyboard when asked for it

and maintain keyboard state when hiding view.
This commit is contained in:
Torsten Grote
2016-10-06 10:41:32 -03:00
parent 3ea36bbd40
commit 154e02723f
6 changed files with 27 additions and 20 deletions

View File

@@ -96,11 +96,6 @@ public abstract class BaseActivity extends AppCompatActivity
});
}
public void showSoftKeyboardForced(View view) {
Object o = getSystemService(INPUT_METHOD_SERVICE);
((InputMethodManager) o).showSoftInput(view, SHOW_FORCED);
}
public void showSoftKeyboard(View view) {
Object o = getSystemService(INPUT_METHOD_SERVICE);
((InputMethodManager) o).showSoftInput(view, SHOW_IMPLICIT);