<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:lb="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<android.support.v17.leanback.widget.HorizontalGridView
android:id="@+id/gridview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:focusable="true"
android:focusableInTouchMode="true"
android:background="#00ffff"
lb:horizontalMargin="12dip"
lb:verticalMargin="24dip"
lb:numberOfRows="3"
lb:rowHeight="150dip"
android:paddingBottom="12dip"
android:paddingLeft="12dip"
android:paddingRight="12dip"
android:paddingTop="12dip" />
</RelativeLayout>