笔记记录
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_white"
android:orientation="vertical">
<!--我的订单-->
<include layout="@layout/include_app_title" />
<!--吸顶效果区域-->
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<!--滑动消失区域-->
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="181dp"
android:background="@color/color_white"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<android.support.design.widget.CollapsingToolbarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:statusBarScrim="@android:color/transparent">
<!--滑动到顶部隐藏区域-->
<include layout="@layout/include_my_order_top_platform" />
</android.support.design.widget.CollapsingToolbarLayout>
<!--吸顶悬浮排序区域-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="90dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="45dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_activity_my_order_sort_zh"
style="@style/style_tv_product_list_sort"
android:text="全部订单"
android:textColor="@color/color_ff6262"
android:textStyle="bold" />
<!--价格大小排序-->
<TextView
android:id="@+id/tv_activity_my_order_sort_jg"
style="@style/style_tv_product_list_sort"
android:text="即将到账"
android:textColor="@color/color_ff3e5062" />
<!--销量大小排序-->
<TextView
android:id="@+id/tv_activity_my_order_sort_xl"
style="@style/style_tv_product_list_sort"
android:text="已到账"
android:textColor="@color/color_ff3e5062" />
<!--佣金大小排序-->
<TextView
android:id="@+id/tv_activity_my_order_sort_yj"
style="@style/style_tv_product_list_sort"
android:text="已失效"
android:textColor="@color/color_ff3e5062" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="38dp"
android:background="@color/color_f6f6f6"
android:gravity="center_vertical"
android:paddingRight="23dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="24dp"
android:text="已下单却没看到记录?点击查询"
android:textColor="@color/color_1b83c6"
android:textSize="13dp" />
<ImageView
android:layout_width="7dp"
android:layout_height="13dp"
android:layout_alignParentRight="true"
android:src="@mipmap/iv_my_order_go" />
</RelativeLayout>
</LinearLayout>
</android.support.design.widget.AppBarLayout>
<android.support.v4.widget.NestedScrollView
android:id="@+id/nestedScrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible"
app:layout_anchorGravity="center"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<android.support.v7.widget.RecyclerView
android:id="@+id/rcv_my_order"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v4.widget.NestedScrollView>
</android.support.design.widget.CoordinatorLayout>
</LinearLayout>