Grid view images not occupy whole activity

view story

http://stackoverflow.com – I try to make Main Menu Activity with 4 images using Grid View like Image1. But the images not occupy whole space of Activity. Image2 shows my grid view. How to align the 4 images without scrolling and to fit all screen like Image1? activity_main_menu.xml <GridView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/gridview" android:layout_width="match_parent" android:layout_height="match_parent" android:numColumns="2" tools:context=".MainMenuActivity" /> MainMenuActivity.java p (HowTos)