[android-developers] How to control width of textview

2011-11-07 Thread Akhil
Hi, I am showing 3 textview within a listview. I want to have first Texeview to use 80% of screen width and remaining two to have 10% each. Is there is a way to achieve this ? Regards Akhil Bansal -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to control width of textview

2011-11-07 Thread JĂșlio Cesar Bueno Cotta
Hello, Android does not work with %, mas you can get something like this using LinearLayout and android:layout_weight=1 The wieght value can be greater than 1 for some textview and lower to another. From: http://developer.android.com/resources/tutorials/views/hello-linearlayout.html Good luck.