Android UI how to align textviews?

I have this linear layout and inside the linear layout i have several text views.Now what i want to do is to display the info text on the left side and then the value next to it but the values should be aligned after the longest info text.I can't see how i can use another Linear Layout inside the linear layout. \[code\] <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:layout_marginLeft="5dp" android:orientation="vertical" > <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="Room:" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="{value}" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="Date:" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="{value}" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="Time:" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="{value}" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="Location" android:textSize="12dp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ff00ff" android:text="{value}" android:textSize="12dp" /> </LinearLayout>\[/code\]Like a html table. One with the info text and then the next with the value. The text views with the text value should be aligned after the longest info text. Html equivalent\[code\]<table><tr><td>Room:</td><td>{value}</td></tr><tr><td>Date:</td><td>{value}</td></tr>...</table>\[/code\]Will it be possible to align this besides putting in a fixed dp width?
 
Back
Top