Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tastatur bleibt aktiv nach Login #30

Open
rleh opened this issue Sep 26, 2015 · 2 comments
Open

Tastatur bleibt aktiv nach Login #30

rleh opened this issue Sep 26, 2015 · 2 comments

Comments

@rleh
Copy link
Contributor

rleh commented Sep 26, 2015

Nach (erfolgreichem) Login wird das Einstellungen Fragment geladen, jedoch bleibt die Tastatur geöffnet.
Das stört und sieht hässlich aus.

@rleh rleh added the bug label Sep 26, 2015
@Turakar
Copy link
Contributor

Turakar commented Sep 29, 2015

Gleicher Fehler beim Nachrichtencenter.

@rleh
Copy link
Contributor Author

rleh commented Oct 1, 2015

Muss man wohl manuell lösen, ist aber nicht viel Aufwand:

// Check if no view has focus:
View view = this.getCurrentFocus();
if (view != null) {  
    InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
    imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
}

Siehe http://stackoverflow.com/questions/1109022/close-hide-the-android-soft-keyboard/1109108#1109108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants