<RelativeLayout 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"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
tools:context="cn.flightfeather.thirdapp.fragment.InspectionFragment">
|
|
<!-- TODO: Update blank fragment layout -->
|
<include layout="@layout/fragment_inspection_content"/>
|
<RelativeLayout
|
android:id="@+id/rl_select_Task"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/white"
|
android:layout_alignParentTop="true"
|
android:layout_alignParentStart="true">
|
<LinearLayout
|
android:id="@+id/ll_tool_bar"
|
android:visibility="visible"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/actionbarHeight"
|
android:orientation="horizontal"
|
android:background="@color/colorPrimary"
|
android:paddingLeft="13dp">
|
<TextView
|
android:id="@+id/tv_title"
|
android:paddingTop="13dp"
|
android:paddingBottom="13dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="2017年10月10日"
|
android:textColor="@color/white"
|
android:textSize="17dp"/>
|
<Spinner
|
android:id="@+id/sp_select_month_task"
|
android:layout_marginLeft="14dp"
|
android:layout_marginRight="-6dp"
|
android:layout_weight="1"
|
android:layout_width="0dp"
|
android:layout_height="match_parent">
|
</Spinner>
|
<ImageView
|
android:id="@+id/iv_upload"
|
android:layout_gravity="center_vertical"
|
android:layout_width="34dp"
|
android:layout_height="34dp"
|
android:layout_marginRight="6dp"
|
android:background="@drawable/selector_icon_upload"/>
|
</LinearLayout>
|
|
|
<com.haibin.oldcalendarview.CalendarLayout
|
android:layout_below="@id/ll_tool_bar"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:background="#fff"
|
app:calendar_content_view_id="@+id/recyclerView">
|
|
<com.haibin.oldcalendarview.CalendarView
|
android:id="@+id/calendarView"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="#fff"
|
app:current_month_text_color="#333333"
|
app:min_year="2004"
|
app:other_month_text_color="#e1e1e1"
|
app:scheme_text="假"
|
app:scheme_text_color="#fff"
|
app:scheme_theme_color="#128c4b"
|
app:selected_text_color="#333"
|
app:selected_theme_color="#108cd4"
|
app:week_background="#fff"
|
app:week_text_color="#111" />
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/recyclerView"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@drawable/shap_stroke_top" />
|
</com.haibin.oldcalendarview.CalendarLayout>
|
</RelativeLayout>
|
|
|
<android.support.design.widget.FloatingActionButton
|
android:id="@+id/fab_map"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentBottom="true"
|
android:layout_centerHorizontal="true"
|
app:fabSize="mini"
|
android:layout_marginBottom="16dp"
|
android:src="@drawable/icon_map_white"
|
app:backgroundTint="@color/colorPrimary"/>
|
|
</RelativeLayout>
|