On Sat, May 10, 2014 at 6:57 PM, dashman <[email protected]> wrote:

> Shouldn't the width of the button be 60dp -
> since i've set the width of the button to match-parent - and it's set to
> 60dp in the layout.
>
> It's actually taking up the full width of the parent view - not layout.
>

You'd think, right?

To achieve what you're looking for, try setting both align_parentLeft and
align_parentRight

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to