To get the orange foreground you need to describe the in the xml as
focusable. Then add the corresponding focused drawable. when the user
runs over it the resources will pull the focused drawable. Hope that
helps!

On Jun 21, 1:25 am, n179911 <n179...@gmail.com> wrote:
> Hi,
>
> I have a view and setOnClickListener to be my code.
> My code get invoked when I move my mouse to the view and click.
> But how what do i need to register so that it will invoke my code when
> I navigate the focus (using up/down keys) and it has orange foreground
> and press ENTER key?
>
> Thank you.

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