I have several EditText fields that I reformat on the fly as the user types by looking for onKeyEvents from a onKeyListener on the views. On a phone running 2.1 update 1 and a phone running 1.6, everything works correctly. On a HTC EVO running 2.2, the on开发者_开发技巧Key sub is never called. The activity implements View.onKeyListener, and setOnKeyListener(this) is set for each of the EditText views.
onKey not called in Froyo 2.2
I have several EditText fields that I reformat on the fly as the user types by looking for onKeyEvents from a onKeyListener on the views.On a phone running 2.1 update 1 and a phone running 1.6, everyt
0
0
0
精彩评论