blob: 374dc473c8a02782b006951bedc11be2d85848f5 [file] [log] [blame]
Dake Gu362fda02016-02-25 13:38:26 -08001<LinearLayout
2 xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:lb="http://schemas.android.com/apk/res-auto"
4 android:orientation="horizontal"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 >
8 <Button
9 android:id="@+id/button"
10 android:text="button"
11 android:layout_width="wrap_content"
12 android:layout_height="wrap_content">
13 <requestFocus />
14 </Button>
15 <android.support.v17.leanback.widget.VerticalGridViewEx
16 android:id="@+id/gridview"
17 android:layout_width="match_parent"
18 android:layout_height="match_parent"
19 android:clipToPadding="false"
20 android:focusable="true"
21 android:focusableInTouchMode="true"
22 android:background="#00ffff"
Weilun Du36086f92016-12-27 11:18:19 -080023 android:horizontalSpacing="12dip"
Dake Guef4e1b32016-08-01 14:22:08 -070024 android:verticalSpacing="4dip"
Dake Gu362fda02016-02-25 13:38:26 -080025 lb:numberOfColumns="1"
26 android:paddingBottom="12dip"
27 android:paddingLeft="12dip"
28 android:paddingRight="12dip"
29 android:paddingTop="12dip" />
30</LinearLayout>