Why do you think it is much taller than it needs to be?  Generally the
buttons are sized so that they will be easy to press with a finger.  You
generally don't want to defeat that.

On Mon, Feb 23, 2009 at 2:03 PM, Blake <thom...@gmail.com> wrote:

>
> I've tried setting the padding with "android:padding="0px", but this
> only seems to affect the left and right padding of the text. Setting
> the top/bottom padding explicitly with "android:paddingTop="0px"
> doesn't seem to have any affect either...
>
> My button is still much taller than it needs to be.
>
> On Feb 19, 4:44 am, kotini tirumula <kotinitirum...@gmail.com> wrote:
> > I think layout padding will help button height
> >
> > On Thu, Feb 19, 2009 at 5:11 PM, schtieF <lisc...@googlemail.com> wrote:
> >
> > > the label can be centered with android:gravity="center_horizontal"
> >
> > > but i dont know how to reduce the height, anyone else can help?
> >
> > > On 15 Jan., 22:54, "info.sktechnol...@gmail.com"
> > > <info.sktechnol...@gmail.com> wrote:
> > > > What is the preferred way to reduce theheightof abuttonand
> > > > maintain the label in the center?
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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

Reply via email to