<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="com.shunzhi.parent.ui.fragment.ReportFragment"> <!-- TODO: Update blank fragment layout --> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:id="@+id/top_layout" android:layout_width="match_parent" android:layout_height="?android:actionBarSize" android:orientation="horizontal" android:padding="10dp" android:background="@color/back_top" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="马铂骞" android:drawableRight="@drawable/pull" android:drawablePadding="10dp" android:textColor="@color/textColor" android:textSize="@dimen/textSize16" android:layout_gravity="center_vertical" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="2018年3月" android:gravity="center_horizontal" android:layout_gravity="center_vertical" android:textColor="@color/textColor" android:textSize="@dimen/textSize16" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="筛选" android:layout_gravity="center_vertical" android:textColor="@color/textColor" android:textSize="@dimen/textSize16" android:drawableRight="@drawable/screen" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="60dp"> <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:text="日期控件" android:textColor="@color/white" android:gravity="center" android:background="@color/textRed" /> </LinearLayout> <android.support.v7.widget.RecyclerView android:id="@+id/recycle_report" android:layout_width="match_parent" android:layout_height="match_parent"> </android.support.v7.widget.RecyclerView> </LinearLayout> </LinearLayout>