Home > DeveloperSection > Forums > How to add done option in android keyboard for hide keyboard
Pawan Shukla

Total Post:37

Points:267
Posted on    March-05-2015 5:48 AM

 Android Android  Keys 
Ratings:


 1 Reply(s)
 556  View(s)
Rate this:

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

 

 



Manoj Pandey

Total Post:26

Points:188
Posted on    March-05-2015 5:51 AM

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>


Don't want to miss updates? Please click the below button!

Follow MindStick