Skip to content Skip to sidebar Skip to footer

Using Keyboard With Statealwaysvisible, After Touch Any Letter Its "select" The Button, Why?

I have only one button in my layout and the activity has nothing. On Manifest it has the android:windowSoftInputMode='stateAlwaysVisible' for the activity, to always show the keybo

Solution 1:

Add the following attribute to your LinearLayout can avoid this behavior:

  android:focusable="true"
  android:focusableInTouchMode="true"

I have tried and it works well.

Post a Comment for "Using Keyboard With Statealwaysvisible, After Touch Any Letter Its "select" The Button, Why?"