Thanks. It turns out that a button's default 9 patch background has
large chunks of blank space at the side and bottom.
No wonder changing the button padding wasn't having any effect.


On Sep 13, 5:29 pm, skink <[email protected]> wrote:
> On 13 Wrz, 09:17, William Ferguson <[email protected]>
> wrote:
>
>
>
> > Anyone?
>
> > On Sep 12, 10:43 pm, William Ferguson <[email protected]>
> > wrote:
>
> > > I have a 3*3 TableLayout that contains buttons.
> > > But I cannot seem to remove the spacing between the buttons in the
> > > Table.
>
> > > Setting pading to zero for the buttons has no effect.
> > > Setting padding and layout_margin to zero for the TableRow has no
> > > effect.
> > > Setting layout_margin for the TableLayout has no effect.
>
> > > Any idea on how I can alter/remove/reduce the spacing between the
> > > cells?
>
> > > William
>
> set android:background attribute of some of your buttons to, say,
> "#foo" and you will probably see that there is no padding between
> cells
>
> what you now see is button's padding
>
> pskink

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