Monday, March 11, 2013

[android-developers] Re: defaults for a Button widget

It seems like there is excess vertical space on xhdpi for the text on a Button.

Even when I set the padding to 0 and the margin to 0, there was a lot of space.

Not sure why.

Eventually, I just opted for the kludgy and unsatisfying workaround of using an ImageButton.



On Friday, March 1, 2013 4:26:08 PM UTC-6, bob wrote:

Can someone help me see where to look to find the defaults for a Button widget?


I'm trying to figure out the default padding and margin values as I'm seeing some weird layout differences between tvdpi and xhdpi.



--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate