[android-beginners] How to layout

2009-02-10 Thread frizzo

Hello, I have 5 buttons.  I'd like to layout the 1st 4 buttons
starting at the top and going down.

I want the last button to be docked to the bottom of the screen.

How can I pull off something like that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] How to Layout

2008-11-25 Thread Brad Gies
 

Ok, I'm finally frustrated :-). 

 

How do I layout a single row with a TextView, an EditText, and a Button such
that the TextView is on the left (wrap_content), the Button (also
wrap_content) is on the right and the EditText fills all the available space
in between?

 

It seems that it should be such an easy thing to do, but I can't seem to get
it to work exactly the way I want it. I don't want to hard code the pixels
because then I need two separate layouts for the portrait and landscape
views, and the problem of it looking funny on the next phone if the screen
width is not the same. 

 

Anyone want to save the little hair I have left? 

 

Thanks.

 

 

Sincerely,

 

Brad Gies

 

 

-

Brad Gies

27415 Greenfield Rd, # 2,

Southfield, MI, USA

48076

-

 

Moderation in everything, including abstinence

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---