Hi

Currently I am using Absolute layout for my root layout. In this
Absolute layout, I have one Absolute layout on the top, followed by a
linearlayout. I want to put my viewlist in the linear layout. so it
goes l ike this

<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout
android:id="@+id/widget0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android";
>
<AbsoluteLayout
android:id="@+id/widget30"
android:layout_width="429px"
android:layout_height="122px"
android:layout_x="0px"
android:layout_y="2px"
>
</AbsoluteLayout>
<LinearLayout
android:id="@+id/widget31"
android:layout_width="428px"
android:layout_height="107px"
android:orientation="vertical"
android:layout_x="0px"
android:layout_y="132px"
>

     <ListView id="android:list"
               android:layout_width="fill_parent"
               android:layout_height="fill_parent"
               android:background="#00FF00"
               android:layout_weight="1"
               android:drawSelectorOnTop="false"/>

     <TextView id="android:empty"
               android:layout_width="fill_parent"
               android:layout_height="fill_parent"
               android:background="#FF0000"
               android:text="No data"/>

</LinearLayout>
</AbsoluteLayout>

My data is stored in a string. Can someone tell me how do I link that
data to the listView , and also preserving the layout of two
partitioning, with my title on top and listview at the bottom ?

Thank in advanced


--~--~---------~--~----~------------~-------~--~----~
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