Answers for "how to prevent keyboard open automatically in android"

0

how to prevent keyboard open automatically in android

This is usually a mess. The first thing I try is try to steal the focus with another view via . You also have to have the focusable and focusableInTouchMode.

<TextView
  ...
  android:focusable="true"
  android:focusableInTouchMode="true">

    <requestFocus/>
</TextView>
Posted by: Guest on December-24-2020

Code answers related to "how to prevent keyboard open automatically in android"

Browse Popular Code Answers by Language