I am trying to show a textview below the gridview but it doesnt seem to work. The textview never appears. Below is the code i am using. Please suggest me how to use a TextView below the GridView.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:background="@drawable/blue" android:layout_width="fill_parent" android:layout_height="wrap_content"> <LinearLayout android:orientation="vertical" android:background="@drawable/red" android:layout_width="fill_parent" android:layout_height="wrap_content"> <GridView android:id="@+id/myGrid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" android:verticalSpacing="10dp" android:horizontalSpacing="10dp" android:numColumns="auto_fit" android:columnWidth="60dp" android:stretchMode="columnWidth" android:gravity="center" /> </LinearLayout> <TextView android:background="@drawable/box" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/linear_layout_1_top"/> </LinearLayout> Thanks, Lardy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en