[android-developers] Making 2 buttons the same size
I have an OK and a Cancel button in a dialog, at the bottom in opposite corners. I'd like to make the the same width. Is there any way to do that via settings in the XML? (without making them both 1/2 screen width! :-) -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Making 2 buttons the same size
On Mon, Jan 10, 2011 at 7:01 PM, John Lussmyer johnlussm...@gmail.comwrote: Is there any way to do that via settings in the XML? Give them both the same weight. - 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Making 2 buttons the same size
Is there any way to do this in a RelativeLayout? Or I could probably add a LinearLayout that contains the row the buttons are in... On Mon, Jan 10, 2011 at 5:21 PM, TreKing treking...@gmail.com wrote: On Mon, Jan 10, 2011 at 7:01 PM, John Lussmyer johnlussm...@gmail.comwrote: Is there any way to do that via settings in the XML? Give them both the same weight. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en