what must that:

i can without problems in html how in android?
use textviews , gravity <tablelayout android:layout_width="match_parent" android:layout_height="wrap_content" > <tablerow android:layout_width="wrap_content" android:layout_height="wrap_content" > <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="right" android:text="key" /> <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="left" android:text="value" /> </tablerow> <tablerow android:layout_width="wrap_content" android:layout_height="wrap_content" > <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="right" android:text="more key" /> <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="left" android:text="more value" /> </tablerow> <tablerow android:layout_width="wrap_content" android:layout_height="wrap_content" > <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="right" android:text="even more key" /> <textview android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="left" android:text="even more value" /> </tablerow> </tablelayout>
Comments
Post a Comment