Button - onKeyDown()

by redhatab » Wed, 25 Jun 2008 12:17:26 GMT


Sponsored Links
 Hi,

Is it possible to do something while a key is being clicked or is in
focus by the arrow keys.

For example, suppose there are multiple buttons on the screen. Now in
the keyDown event, can we change the text of the button. Or even if
the arrow keys are used to navigate through the buttons, and when this
particular button is in focus, can we make the changes to that
particular button.

And help is greatly appreciated.

Thanks!
--~--~---------~--~----~------------~-------~--~----~



Button - onKeyDown()

by Raj » Wed, 25 Jun 2008 15:21:20 GMT


 use OnFocusChangeListener interface and override its OnFocusChanged
method and set images to buttons it will work




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. my post is not appearing

Hi, my recent post to the Android 'Developer' group is not appearing.  I posted 
it about 45 minutes ago.  my login is:

[EMAIL PROTECTED]

Please help.  Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. enable/disable 3g

Is there a way to disable/enable system setting for network state from
edge->umts and vice versa?
I thought there should be a way using Settings.System but I couldn't
find one.

Thanks in advance,
-Abhi

--~--~---------~--~----~------------~-------~--~----~

3. layout_gravity Problem

4. ScrollView and TextView

5. browser fails to open URL in emulato build

6. Found the problem with the getFromLocationName method

7. Using a web site intent and browser windows?