The problem may be that the TextView atitle has
android:layout_width=fill_parent. Try setting it to wrap_content
and see if you get better results.
Regards,
Beth
On Jan 5, 1:57 pm, n179911 n179...@gmail.com wrote:
Hi,
I have a linear layout like this:
LinearLayout android:id=@+id/header
set the layout weight of TextView to 1.
TextView android:id=@+id/atitle
android:singleLine=true
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_weight= 1
/
/LinearLayout
On
On Tue, Jan 5, 2010 at 11:30 AM, Iroid irfan.f.k...@gmail.com wrote:
set the layout weight of TextView to 1.
TextView android:id=@+id/atitle
android:singleLine=true
android:layout_width=fill_parent
android:layout_height=wrap_content
http://www.androidpeople.com/category/button/
use button gravity property.
ex:-
Private Button b1;
b1.setGravity(Gravity.RIGHT);
On Jan 6, 1:16 am, n179911 n179...@gmail.com wrote:
On Tue, Jan 5, 2010 at 11:30 AM, Iroid irfan.f.k...@gmail.com wrote:
set the layout weight of TextView to 1.
4 matches
Mail list logo