Answers for "don't open keyboard automatically android"

1

android how to don't show keyboard

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
Posted by: Guest on April-08-2020
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 "don't open keyboard automatically android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language