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.

On Wed, Oct 6, 2010 at 11:28 AM, A N K ! T <[email protected]>wrote:

> 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......
>
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

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

Reply via email to