Android Edittext question, replace keypad enter with done

后端 未结 5 724
北恋
北恋 2020-12-10 17:30

I\'m defining an edit text like so...



        
5条回答
  •  心在旅途
    2020-12-10 17:59

    Simple solution: add android:singleLine="true" for the EditText. This will replace the enter with Next (for all edittexts except the last one) and Done (for the last one).

提交回复
热议问题