<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:focusableInTouchMode="true"
android:focusable="true"
android:background="@color/pageBg"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp">
<Button
android:id="@+id/search_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/shape_btn"
android:minHeight="0dp"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:text="搜索"
android:textColor="#ffffff"/>
<EditText
android:id="@+id/search_edit"
android:layout_width="match_parent"
android:lines="1"
android:maxLines="1"
android:inputType="text"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:imeOptions="actionDone"
android:textSize="14sp"
android:textColor="#00a3ef"
android:layout_toLeftOf="@+id/search_btn"
android:background="@drawable/shape_edit"
android:padding="5dp"/>
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="应用程序"/>
<View
android:layout_width="match_parent"
android:layout_height="0.2dp"
android:layout_marginBottom="10dp"
android:background="#aaaaaa"/>
<me.bell.downapp.view.ScrollGridView
android:id="@+id/app_grid_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:horizontalSpacing="10dp"
android:numColumns="2"
android:verticalSpacing="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="游戏"/>
<View
android:layout_width="match_parent"
android:layout_height="0.2dp"
android:layout_marginBottom="10dp"
android:background="#aaaaaa"/>
<me.bell.downapp.view.ScrollGridView
android:id="@+id/game_grid_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:horizontalSpacing="10dp"
android:numColumns="2"
android:verticalSpacing="10dp"/>
</LinearLayout>
</ScrollView>
</LinearLayout>