<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              tools:context="eu.redray.trevie.MovieGridFragment"
              tools:showIn="@layout/activity_main">

    <GridView
        android:id="@+id/movie_grid"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:clipToPadding="false"
        android:gravity="center"
        android:numColumns="4"
        android:paddingBottom="2dp"
        android:paddingLeft="2dp"
        android:paddingRight="2dp"
        android:paddingTop="4dp"
        android:scrollbarStyle="outsideOverlay"
        android:smoothScrollbar="true"
        android:stretchMode="columnWidth"/>

</LinearLayout>
Add layout for landscape mode
Add layout for landscape mode
