ok.

and... how to associate this event onKeyDown only to a specific
ImageButton in a View?

On 28 Mar, 17:28, Holger <[email protected]> wrote:
> On Mar 28, 3:02 pm, Paolo <[email protected]> wrote:
>
> > is it possible to use onKeyDown() for an ImageButton instead of
> > onClick() to capture the user's click on this imagebutton?
>
> > what's the difference?
>
> Difference #1:
> Press (->onKeyDown()), hold a while then release (->onClick()).
>
> Difference #2:
> Press (->onKeyDown()), drag then release (no onClick()).

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to