Romain Guy wrote:
>> -- fill_parent
> 
> fill_parent won't work, the button will be pushed out of the screen.

Yes, I should have mentioned he would need his button to be on top.

>> -- a fixed height (e.g., 200px)
> 
> This is a very bad idea to support multiple devices. Do not do this.

He already had the button with a fixed dimension, so I felt it had to be
listed as an alternative.

layout_weight or RelativeLayout are definitely better options.

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

Android 1.5 Programming Books: http://commonsware.com/books.html

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

Reply via email to