I am having the same result.  Did you resolve this issue?

On Monday, May 28, 2012 7:22:57 PM UTC-5, tete wrote:
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to