user2742371
user2742371

Reputation:

Is there a way to disable the "keyboard-dismiss" button?

Is there a way to disable/hide this keyboard-dismiss button and keep the soft-keyboard open?

I want to have the default back-button there and when that button is pressed it should finish() my activity without having to dismiss the keyboard first.

Nexus 5 rocks!

I have tried this: android:windowSoftInputMode="adjustResize|stateAlwaysVisible" in my manifest file, but that didn't do what I expected.

Upvotes: 5

Views: 136

Answers (2)

user2742371
user2742371

Reputation:

I decided that I shouldn't mess with the Android standard meaning and I have chosen to let the users dismiss the keyboard if they wish to.

Upvotes: 3

Santhosh
Santhosh

Reputation: 1867

Use the android:windowSoftInputMode="stateHidden" in your activity in manifest file. This will work.

Upvotes: 0

Related Questions