Thx again for your help. I will check this.
Nevertheless here are my XML files:

main.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
                android:id="@+id/background1"
                android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        xmlns:android="http://schemas.android.com/apk/res/android";>
         <TextView
                android:id="@+id/list"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1">
         </TextView>
         <ListView
                android:id="@android:id/list"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1">
         </ListView>
</LinearLayout>


and tea_add.xml:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:orientation="vertical" android:layout_width="fill_parent"
        android:layout_height="fill_parent">

        <LinearLayout android:orientation="horizontal"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content">

                <TextView android:layout_width="100sp"
                        android:layout_height="wrap_content"
                        android:text = "Tea Name:  "
                        android:layout_marginLeft="5px" />
                <EditText android:id="@+id/name"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"/>
        </LinearLayout>
        <LinearLayout android:orientation="horizontal"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content">

                <TextView android:layout_width="100sp"
                        android:layout_height="wrap_content"
                        android:text = "Brewing Time: "
                        android:layout_marginLeft="5px" />
                <EditText android:id="@+id/brewTime"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="1" />
        </LinearLayout>
        <Button android:id="@+id/confirm"
                        android:text = "Confirm"
                        android:layout_width="110sp"
                        android:layout_height="wrap_content"/>
</LinearLayout>

Thx again
--~--~---------~--~----~------------~-------~--~----~
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]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to