android R.layout concept
Posted
by yoav.str
on Stack Overflow
See other posts from Stack Overflow
or by yoav.str
Published on 2010-06-17T08:06:28Z
Indexed on
2010/06/17
8:13 UTC
Read the original article
Hit count: 455
can I genrate java code instead using xml code ? lets say i want to do this xml code in a loop :
<TableRow
android:id="@+id/LivingCreture"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:text="LivingCreture"
android:gravity="left"
android:id="@+id/LivingCretureT"
android:layout_width="45dp"
android:layout_height="45dp"></TextView>
<EditText android:text=" "
android:gravity="center"
android:id="@+id/LivingCretureE"
android:layout_width="45dp"
android:layout_height="45dp"></EditText>
<ImageView android:id="@+id/ImageView03" android:layout_width="wrap_content"android:layout_height="wrap_content"></ImageView>
is it possiable ?
© Stack Overflow or respective owner