What do you mean with ´dynamically via code´???

If you want to add a new row in TableLayout I´ll have to write a code
like this:


 <TableRow>
        <TextView
            android:layout_column="1"
            android:text="Open..."
            android:padding="3dip" />
        <TextView
            android:text="Ctrl-O"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>




Here´s a link which describes it :
 
http://developer.android.com/intl/de/resources/tutorials/views/hello-tablelayout.html


Or do you want to create a row in a TableLayout using your main java-
file???









On 12 Mrz., 07:30, sadiah zafar <[email protected]> wrote:
> kindly somebody tell how to create rows dynamically via code in
> TableLayout.I neeed it urgentleyyyyyyyyyyyyyyyyyyyyyyyyy.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to