<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical" android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<include android:id="@+id/action_bar" layout="@layout/layout_actionbar"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingLeft="@dimen/dimen6"
|
android:paddingRight="@dimen/dimen6">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
<Spinner
|
android:id="@+id/sp_top_task"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/dimen6"
|
android:visibility="gone">
|
</Spinner>
|
<Spinner
|
android:id="@+id/sp_scene"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_marginTop="@dimen/dimen6"
|
android:layout_below="@id/sp_top_task"
|
android:visibility="gone">
|
</Spinner>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/textSize_18"
|
android:textColor="@color/black"
|
android:layout_marginTop="@dimen/dimen4"
|
android:text="顶层任务"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="工地"
|
android:gravity="right"/>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="8dp"
|
android:background="#ebebeb" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:layout_marginTop="@dimen/dimen6">
|
<TextView
|
android:id="@+id/tv_scene_rank"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1.5"
|
android:textColor="@drawable/selector_text_black_white"
|
android:textSize="@dimen/textSize_18"
|
android:clickable="true"
|
android:background="@drawable/selector_tab_progress"
|
android:gravity="center"
|
android:padding="@dimen/dimen4"
|
android:text="场景综合排名"/>
|
<TextView
|
android:id="@+id/tv_town_rank"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1.5"
|
android:textColor="@drawable/selector_text_black_white"
|
android:textSize="@dimen/textSize_18"
|
android:clickable="true"
|
android:background="@drawable/selector_tab_progress"
|
android:gravity="center"
|
android:padding="@dimen/dimen4"
|
android:text="街道综合排名"/>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.1dp"
|
android:background="@color/transStatusBar" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:layout_marginTop="@dimen/dimen4">
|
<!--<LinearLayout-->
|
<!--android:layout_width="match_parent"-->
|
<!--android:layout_height="wrap_content">-->
|
<!--<TextView-->
|
<!--android:layout_width="0dp"-->
|
<!--android:layout_height="wrap_content"-->
|
<!--android:layout_weight="1.5"-->
|
<!--android:textColor="@color/black"-->
|
<!--android:background="@drawable/shape_task_analysis"-->
|
<!--android:gravity="center"-->
|
<!--android:title="日期"/>-->
|
<!---->
|
<!--<TextView-->
|
<!--android:layout_width="0dp"-->
|
<!--android:layout_height="wrap_content"-->
|
<!--android:layout_weight="2"-->
|
<!--android:textColor="@color/black"-->
|
<!--android:gravity="center"-->
|
<!--android:background="@drawable/shape_task_analysis"-->
|
<!--android:title="完成数"/>-->
|
<!---->
|
<!--<TextView-->
|
<!--android:layout_width="0dp"-->
|
<!--android:layout_height="wrap_content"-->
|
<!--android:layout_weight="2"-->
|
<!--android:textColor="@color/black"-->
|
<!--android:gravity="center"-->
|
<!--android:background="@drawable/shape_task_analysis"-->
|
<!--android:title="百分比"/>-->
|
<!--</LinearLayout>-->
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/rv_rank"
|
android:layout_marginTop="6dp"
|
android:paddingBottom="8dp"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
</android.support.v7.widget.RecyclerView>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|