I'm trying to show a simple layout where I can call this activity and
fill in some values, then hit the save or cancel button. Unfortunately
the save and cancel buttons never appear. Can someone help please?


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="8dp"
        android:paddingRight="8dp"
        android:paddingTop="8dp">

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

                <TableRow>

                        <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/band"
                                android:textStyle="bold"
                                android:textSize="16px"
                                android:paddingRight="5dp" />

                        <EditText
                                android:id="@+id/band"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"/>

                </TableRow>

                <TableRow>

                        <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/members"
                                android:textStyle="bold"
                                android:textSize="16px"
                                android:paddingRight="5dp" />

                        <EditText
                                android:id="@+id/members"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"/>

                </TableRow>


        </TableLayout>

        <TableLayout
                android:orientation="horizontal"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent">

                <TableRow>

                        <Button
                                android:id="@+id/save"
                                android:text="@string/save"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:layout_weight="1" />

                        <Button
                                android:id="@+id/cancel"
                                android:text="@string/cancel"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:layout_weight="1" />

                </TableRow>

        </TableLayout>

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