| <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:layoutDirection="ltr" |
| > |
| <Button android:id="@+id/button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentStart="true" |
| android:text="button" |
| /> |
| <android.support.v17.leanback.widget.VerticalGridViewEx |
| android:id="@+id/gridview" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_toEndOf="@id/button" |
| android:clipToPadding="false" |
| android:focusable="true" |
| android:focusableInTouchMode="true" |
| android:background="#00ffff" |
| android:horizontalSpacing="12dip" |
| android:verticalSpacing="24dip" |
| lb:numberOfColumns="1" |
| lb:columnWidth="150dip" |
| lb:focusOutSideStart="false" |
| lb:focusOutSideEnd="true" |
| android:paddingBottom="12dip" |
| android:paddingLeft="12dip" |
| android:paddingRight="12dip" |
| android:paddingTop="12dip" /> |
| </RelativeLayout> |