<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<View
|
android:id="@+id/v_status_bar"
|
android:layout_width="match_parent"
|
android:layout_height="15dp"
|
android:background="@color/white"
|
android:fitsSystemWindows="true" />
|
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<ScrollView
|
android:id="@+id/sv_search"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:paddingLeft="23dp"
|
android:paddingRight="23dp">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="8dp"
|
android:text="热门搜索"
|
android:textColor="@color/search_title_text_color" />
|
|
<com.tejia.lijin.app.util.FlowLayout
|
android:id="@+id/fl_hot_search"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="8dp"
|
android:layout_marginRight="8dp"></com.tejia.lijin.app.util.FlowLayout>
|
|
<!--历史搜索-->
|
<LinearLayout
|
android:id="@+id/ll_search_history_hint"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:visibility="visible">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="8dp"
|
android:layout_weight="1"
|
android:text="搜索记录"
|
android:textColor="@color/search_title_text_color" />
|
|
<ImageView
|
android:id="@+id/iv_delete_history"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:paddingLeft="5dp"
|
android:paddingTop="5dp"
|
android:paddingBottom="5dp"
|
android:src="@drawable/icon_search_record_delete"></ImageView>
|
|
</LinearLayout>
|
|
|
<com.tejia.lijin.app.util.FlowLayout
|
android:id="@+id/fl_search_history"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="8dp"
|
android:layout_marginRight="8dp"></com.tejia.lijin.app.util.FlowLayout>
|
|
<!--优惠券视频教程-->
|
<RelativeLayout
|
android:id="@+id/ll_guidevideo"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="35dp"
|
android:orientation="vertical"
|
android:visibility="visible">
|
<!--更多-->
|
<RelativeLayout
|
android:id="@+id/ll_guidevideo2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_gravity="center"
|
android:text="查看优惠券视频教程"
|
android:textColor="@color/black"
|
android:textSize="15sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp"
|
android:paddingBottom="1dp"
|
android:text="更多"
|
android:textColor="@color/gray2"
|
android:textSize="13sp" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="12dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:background="@drawable/ic_other_login_close"
|
android:paddingTop="1dp" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="140dp"
|
android:layout_below="@+id/ll_guidevideo2"
|
android:layout_marginTop="20dp">
|
|
<ImageView
|
android:id="@+id/ll_guidevideoimg"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@drawable/shape_order_statistics_today_bg"
|
android:scaleType="fitXY" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:background="@drawable/icon_video" />
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
</LinearLayout>
|
</ScrollView>
|
|
<include layout="@layout/item_no_net" />
|
|
<include layout="@layout/item_error_net" />
|
|
<include layout="@layout/item_no_data" />
|
</FrameLayout>
|
</LinearLayout>
|