jueshi / apwidgets

Automatically exported from code.google.com/p/apwidgets
0 stars 0 forks source link

no 'done' button for newer htc smart phones, need alternative option. #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using HTC eg. desire/sensation 
2. imeoptions for for edittext don't allow a 'done' button, so this action 
cannot be called

What is the expected output? What do you see instead?
no 'done' button or way to finish an edittext action.

What version of the product are you using? On what operating system?
osx, recent download of apwidgets

The following were enabled during testing...
tf.setInputType(InputType.TYPE_CLASS_TEXT);
tf.setImeOptions(EditorInfo.IME_ACTION_DONE); //Enables a Done button
tf.setCloseImeOnDone(true); //close the IME when done is pressed

we just need a way to detect when enter was pressed. i have updated my version 
with this fix...
http://stackoverflow.com/questions/1489852/android-handle-enter-in-an-edittext

Original issue reported on code.google.com by trentbro...@gmail.com on 21 Jul 2011 at 12:53