Tuesday, October 5, 2010

[android-developers] Padding of a Button

Kind of a newbie question, I suppose:

I've got a horizontal layout with Button, SeekBar, Button. I'd like
the actual space (and active area) of the button to be somewhat wider
than the image (a round dot) used for the button.

So I tried setting paddingLeft and paddingRight on the button.

But what I got was the round dot stretched into an oval.

How would I increase the width of the button without stretching the
image?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate