HOW TO ADD DONE OPTION IN ANDROID KEYBOARD FOR HIDE KEYBOARD

Pawan Shukla

Total Post:36

Points:260
Posted by  Pawan Shukla
 1062  View(s)
Ratings:
Rate this:

how to add done option in android keyboard for hide keyboard like this

 

 

  1. Manoj Pandey

    Post:26

    Points:188
    Re: How to add done option in android keyboard for hide keyboard

    Set imeOptions  done in edittext on layout code                  

      <EditText
    android:id="@+id/mttext"
      android:imeOptions="actionDone"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"                          
    android:hint="@string/name"
    android:inputType="text"
    android:maxLength="20"
    </EditText>

      Modified On Apr-09-2018 01:58:23 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!