Hi,

Here is the pseudo layout code:

LinearLayout: layout_width=fill_parent
  TextView layout_width=wrap_content
  EditText layout_width=0dip layout_weight=1.0
  Button layout_width=wrap_content

On Mon, Nov 24, 2008 at 10:30 PM, Brad Gies <[EMAIL PROTECTED]> wrote:
>
>
> Ok, I'm finally frustrated J.
>
>
>
> 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
>
>
>
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to