Hello people,

I want to override the OnKeyPreIme method of a EditText got from a 
findByView(int id), to make the activitiy finish() when user press back key.

The only way I thought is creating a custom EditText and overriding 
OnKeyPreIme, but when I tried to cast the EditText of my view in my custom 
EditText, it throws a ClassCastException

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to