> Layout is not dependant on the weight, it is a weird combination of > the text size and the weight.
You are telling Android that you want to have each TextView take up as much space as its text requires (android:layout_width="wrap_content") and if that does not exactly fit the width, use the weights to deal with any extra space or shortfalls. If you do not want to use the text length as a determining factor in the width, then use android:layout_width="0px" and use the weights to determine who gets how much space. You cannot use a weight of 0 in this case. > You will understand if you try this in eclipse and see the layout. Do not rely on Eclipse's GUI preview. Run your code in the emulator. -- 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 -~----------~----~----~----~------~----~------~--~---

