button focus

by A N K ! T » Wed, 06 Oct 2010 13:58:11 GMT

Sponsored Links
 i have set background as transparent for the button ..
(button.setbacgroundcolor(Color.transparent) )...

now it is not showing focus on the same button..what to do..


 A N K ! T......


button focus

by Kumar Bibek » Wed, 06 Oct 2010 19:14:57 GMT

 Look at the state list drawables. Buttons and other widgets have a default
statelist drawable. If you are using your own drawable, (just a image), the
button doesn't know what to show when in different states. Rather than
setting a drawable(picture) as a background, you should be using a state
list drawable which specifies which images to use for different states.


Sponsored Links

button focus

by A N K ! T » Thu, 07 Oct 2010 13:21:03 GMT

 thanks it is very helpful....


Other Threads

1. Internet proxy setting on android emulator

Hi All,
  I'm trying to intercept all the http/https requests from android 2.1
sdk emulator (specifically interested in request from our app ) using
fiddler. I have fiddler running on the same machine where emulator is

I followed the sql query instruction (adb shell ....)
 I restarted emulator with below command

emulator -avd <emulator name> -http-proxy

but I still don't see anything in fiddler, even when I go to google
from browser in emulator.

If someone is able to view all the http connection from their android
emulator ( even if not through fiddler but some other tool) please
reply with instructions.

Thanks in advance,


2. Emulator and cellular access

Hi all,

   I think the Android emulator has the capability to emulate incoming
phone calls
but I am wondering if there is a capability to place outgoing calls to
existing cellular
networks through the appropriate hardware interface. Is there any
of such a functionality I look into?



3. Hidup Android, Google beri dukungan buat id-Android

4. Unknown error with AAPT tool while Build Projec

5. How to open virtual keyboard automatically

6. ListView questions

7. Singapura --- Wonder Girls Lagi