Hi,

Maybe you just need to include the following to your layout file:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android";
android:orientation="vertical"
>
<TextView
android:id="@+id/android_server_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="MY LIST TITLE IN A TEXTVIEW"
>
</TextView>
<ListView
android:id="@android:id/list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5px"
>
</ListView>
<Button
android:id="@+id/btn1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="btn1"
/>
</LinearLayout>

Or if you want to customize the Adapter:

http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/view/List6.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to