xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
>
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:contentScrim="@color/white"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:title="@string/app_name">
android:focusable="true"
android:focusableInTouchMode="true"
android:background="@color/cf0f0f0"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="50dp">
android:orientation="horizontal"
android:layout_weight="0.8"
android:layout_margin="4dp"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:src="@mipmap/sousuo"
android:layout_gravity="center_vertical"
android:layout_marginLeft="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:id="@+id/edit_tv"
android:layout_marginLeft="10dp"
android:hint="请输入搜索内容"
android:textColor="@color/tab_text_color_normal"
android:gravity="left|center_vertical"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:id="@+id/search_btn"
android:text="搜索"
android:textColor="@color/white"
android:background="@color/green_btn_press"
android:layout_marginRight="4dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:layout_width="80dp"
android:layout_height="match_parent" />
android:id="@+id/tablayout"
app:tabSelectedTextColor="@color/green_btn_press"
app:tabTextColor="@color/tab_text_color_normal"
android:layout_width="match_parent"
android:layout_height="50dp"/>
android:id="@+id/vp_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">