On May 20, 3:03 am, Divkis <[email protected]> wrote: > > On May 19, 11:24 pm, skink <[email protected]> wrote: > > > > when you use standard button drawables, they specify that extra > > > margins you are talking about, see btn_default*.* fIles under your sdk > > > root - btn_default.xml in particular which defines default Button > > > drawable > > > I did have a look earlier at the btn_default.xml files as you > > suggested earlier as well, but even there I don't seem to find any xml > > tag for margins. It only lists the various kind of button image to use > > for different states of the button. > > Just to be sure that I am on the same page as you, my btn_default.xml > looks something like this, wherein I don't see any property for > margins: >
margins/paddings are defined in .9.png images, see for example in PhotoShop or any bitmap drawing tool: android:drawable="@drawable/btn_default_normal" and you will see 3 pixels of left/right margin and even more at the bottom 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

