I am trying to add a button below a GridView . I tried using RelativeLayout and LinearLayout as well. But button does not appear. The height of the GridView is also "wrap_content". The button appears behind the GridView.
How do place it below the grid ?
The following is my layout that doesnt work
<GridView android:id = "@+id/galleryGridView" android:layout_width = "wrap_content" android:layout_height = "wrap_content"
android:padding = "1dip" android:verticalSpacing = "1dip" android:horizontalSpacing = "1dip" android:columnWidth = "90dip"
android:paddingBottom = "1dip" android:numColumns = "auto_fit" android:stretchMode = "columnWidth" android:gravity = "center"/>
<Button android:id = "@+id/loadMoreButton" android:layout_width = "fill_parent" android:layout_height = "fill_parent"
android:text = "Load More" android:layout_below = "@id/galleryGridView"/>