Reputation: 2154
In my application I my getting different style soft keyboard for ex at one part of my app I am getting this
and at other part
but I want it to be same for all.
Upvotes: 0
Views: 147
Reputation: 16568
This particular difference is due to the fact that, one of your EditText (text boxes are called EditTexts in Android) is a single line one, where the other is not. Set the property
android:lines="1"
in your EditTex's xml tag, and you will see second keyboard for all such EditTexts. But as @Marcin answered, learn the input types correctly, and you will find the differences between them.
Upvotes: 0
Reputation: 75645
This is the same keyboard with just different action button. So you are basically looking for
android:imeOptions
as documented here: http://developer.android.com/reference/android/R.attr.html#imeOptions
Upvotes: 2