I'm no layout expert but instead I'd try:
- android:layout_width="fill_parent" for both
- android:layout_weight=0 for the first one
- android:layout_weight=1 for the second one.

R/

On Sun, Oct 4, 2009 at 10:21 AM, Mark Murphy <[email protected]> wrote:
>
>> All I want is to make the first textview take as much space as needed
>> without wrapping and the second text view to wrap and display. I am
>> not able to do this simple thing with Linear Layout.
>
> Use android:layout_width="wrap_content" and no weight for the first
> TextView. Use android:layout_width="fill_parent" for the second TextView.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> Android App Developer 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 [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