Atif Gulzar wrote:
> unfortunately it will not make button equi size. As
> android:layout_weight only distribute empty space.

So, set android:layout_width="0px" for both. Then, the entire width is
empty space, and two equal android:layout_weight="1" values will result
in two buttons of equal size.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

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