Hi all

I want to make a screen such that all time the data coming through
database need to be fixed in pre-designed pattern,
 i mean i have designed a layout(the code is given below)and in this
layout i want to fix the data  that i getting from database and the
data to be added in view should be increased automatically.

through coding i can set the data from database to the desired
position ...but how the no. of positions should be increased (these
positions should be same as previous one which i have created in
layout)...

i dont want to implement the list view......
simple page is fine.....


can anyone help me out


//CODE for xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >

<TextView
                android:id="@+id/name"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:background = "#99F0FFFF"
        android:layout_marginTop="30dip"
        android:text = "   Date n Time."
         android:layout_centerHorizontal="true"/>
 <TableLayout   xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id = "@+id/TableLayout_1"
    android:layout_below = "@+id/name"
    android:layout_marginTop="10dip">

 <TableRow android:layout_marginRight="10dip">
 <ImageView

        android:id="@+id/image"
        android:layout_marginLeft="10dip"
        android:layout_marginTop="10dip"
        android:layout_alignParentLeft="true"
        android:layout_width="70dip"
        android:layout_height="70dip"

 />
 <TextView
            android:id = "@+id/textRightToImage"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:text = "...."
                android:layout_marginLeft="10dip" 
android:layout_marginTop="10dip"
android:layout_marginRight="20dip" android:layout_width="220dip"/>
 </TableRow>
</TableLayout>




</RelativeLayout>

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

Reply via email to