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. Dev Console profile edit page??

Is it just me, but when I try to edit my profile on the Developer
Console (to change the LVL response code), I am getting a 404 error
when saving?

-- 

2. [WTA] Import certificate (CA) ke Galaxy Tab

Dear Suhu2 android,
Saya mau tanya, apakah temen2 sudah pernah ada yang mencoba import CA dari
windows ke Galaxy Tab?

Mohon pencerahannya, karena di kantor pake wifi 801.x EAP-MCHAP2,
autentikasi pake active directory account.

Thanks.

-- 
===============

3. Heard that Android can use the functions of another application

4. New Android Phone

5. onActivityResult in Activity in TabActivity

6. MapView

7. Main class not starting