I am trYing to define a Layout which is a very simple Linear Layout
that has a TextView and ListView.
My activity is a ListActivity.  I am trying out few things on top of
the Notepad sampleApp. The problem I am facing is TextView and
ListView are displayed in two columns.  I want them displayed one
below the other.  I am not sure what mistake I am making.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
      android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

  <TextView android:id="@+android:id/test"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="test test"
        />
  <ListView android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        />
</LinearLayout>

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

Reply via email to