[android-developers] Re: Layout - Weight not working
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home