<?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:orientation="vertical">
|
|
<View
|
android:id="@+id/v_status_bar"
|
android:layout_width="match_parent"
|
android:layout_height="15dp"
|
android:background="@color/main_bg_color" />
|
|
<include layout="@layout/navigation_top_bar" />
|
|
<LinearLayout
|
android:id="@+id/fl_order_category"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:background="@color/white"
|
android:orientation="horizontal">
|
|
<FrameLayout
|
android:id="@+id/fl_rebate"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<TextView
|
android:id="@+id/tv_rebate"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="自购订单"
|
android:textColor="@color/main_text_color"
|
android:textStyle="bold" />
|
|
<View
|
android:id="@+id/v_rebate"
|
android:layout_width="60dp"
|
android:layout_height="3dp"
|
android:layout_gravity="bottom|center_horizontal"
|
android:layout_marginBottom="1dp"
|
android:background="@color/main_text_color" />
|
</FrameLayout>
|
|
<FrameLayout
|
android:id="@+id/fl_percentage"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<TextView
|
android:id="@+id/tv_percentage"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="分享订单"
|
android:textColor="@color/text_black_1"
|
android:textStyle="bold" />
|
|
<View
|
android:id="@+id/v_percentage"
|
android:layout_width="60dp"
|
android:layout_height="3dp"
|
android:layout_gravity="bottom|center_horizontal"
|
android:layout_marginBottom="1dp"
|
android:background="@color/main_text_color"
|
android:visibility="gone" />
|
</FrameLayout>
|
|
<FrameLayout
|
android:id="@+id/fl_taobao"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<TextView
|
android:id="@+id/tv_taobao"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="淘宝订单"
|
android:textColor="@color/text_black_1" />
|
|
<View
|
android:id="@+id/v_taobao"
|
android:layout_width="60dp"
|
android:layout_height="3dp"
|
android:layout_gravity="bottom|center_horizontal"
|
android:layout_marginBottom="1dp"
|
android:background="@color/main_text_color"
|
android:visibility="gone" />
|
</FrameLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_hint1"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/yellow"
|
android:orientation="vertical"
|
android:padding="5dp"
|
android:visibility="visible">
|
|
<TextView
|
android:id="@+id/tv_hint1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginBottom="10dp"
|
android:paddingTop="3dp"
|
android:textColor="@color/main_text_color" />
|
|
<TextView
|
android:id="@+id/tv_close1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:background="@drawable/shape_go_search"
|
android:paddingBottom="5dp"
|
android:paddingLeft="8dp"
|
android:paddingRight="8dp"
|
android:paddingTop="5dp"
|
android:text="关闭"
|
android:textColor="@color/white" />
|
</LinearLayout>
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
android:id="@+id/srl_rebate_order"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:visibility="visible">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/rv_rebate_order"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"></android.support.v7.widget.RecyclerView>
|
</LinearLayout>
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_taobao_order"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ProgressBar
|
android:id="@+id/myProgressBar"
|
style="?android:attr/progressBarStyleHorizontal"
|
android:layout_width="match_parent"
|
android:layout_height="2dp"
|
android:background="@color/main_text_color" />
|
|
<LinearLayout
|
android:id="@+id/ll_hint"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/yellow"
|
android:orientation="vertical"
|
android:padding="5dp"
|
android:visibility="visible">
|
|
<TextView
|
android:id="@+id/tv_hint"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginBottom="10dp"
|
android:paddingTop="3dp"
|
android:textColor="@color/main_text_color" />
|
|
<TextView
|
android:id="@+id/tv_close"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:background="@drawable/shape_go_search"
|
android:paddingBottom="5dp"
|
android:paddingLeft="8dp"
|
android:paddingRight="8dp"
|
android:paddingTop="5dp"
|
android:text="关闭"
|
android:textColor="@color/white" />
|
</LinearLayout>
|
|
<FrameLayout
|
android:id="@+id/fl_webview"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"></FrameLayout>
|
</LinearLayout>
|
|
<include layout="@layout/item_no_net" />
|
|
<include layout="@layout/item_error_net" />
|
|
<LinearLayout
|
android:id="@+id/ll_go_scan"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_gravity="center"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/ic_order_form_null" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:text="您目前还没有历史订单哟,去逛一逛吧~" />
|
|
<TextView
|
android:id="@+id/tv_go_scan"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:background="@drawable/shape_go_search"
|
android:gravity="center"
|
android:paddingBottom="5dp"
|
android:paddingLeft="8dp"
|
android:paddingRight="8dp"
|
android:paddingTop="5dp"
|
android:text="去逛逛"
|
android:textColor="@color/white"
|
android:visibility="visible" />
|
</LinearLayout>
|
</LinearLayout>
|