You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235 lines
8.5 KiB
XML
235 lines
8.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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=".ui.activity.sbxdjgl.MjApplyActivity">
|
|
|
|
|
|
<include
|
|
android:id="@+id/toolbarView"
|
|
layout="@layout/layout_base" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#dddddd"
|
|
android:padding="3dp"
|
|
android:minHeight="30px">
|
|
<TextView
|
|
android:id="@+id/tv_zxsj"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:text="执行时间:"
|
|
android:textSize="24px" />
|
|
<TextView
|
|
android:id="@+id/tv_st"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:text="开始时间"
|
|
android:textSize="24px" />
|
|
<TextView
|
|
android:id="@+id/tv_to"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="0.2"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:text="至"
|
|
android:textSize="24px" />
|
|
<TextView
|
|
android:id="@+id/tv_et"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:text="结束时间"
|
|
android:textSize="24px" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#dddddd"
|
|
android:orientation="horizontal"
|
|
android:padding="5dp"
|
|
android:minHeight="30px">
|
|
<Button
|
|
android:id="@+id/tv_last_month"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="上一月"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_current_month"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="本月"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_last_week"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="上一周"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_current_week"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="本周"
|
|
android:textSize="24px" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#dddddd"
|
|
android:orientation="horizontal"
|
|
android:padding="3dp"
|
|
android:minHeight="30px">
|
|
<Button
|
|
android:id="@+id/tv_last_day"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="昨天"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_current_quarter"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="本季"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_last_quarter"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="上一季"
|
|
android:textSize="24px" />
|
|
<Button
|
|
android:id="@+id/tv_current_year"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:minHeight="50px"
|
|
android:background="@drawable/btn_selector"
|
|
android:textColor="#ffffff"
|
|
android:text="今年"
|
|
android:textSize="24px" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#dddddd"
|
|
android:minHeight="30px">
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center|right"
|
|
android:minHeight="50px"
|
|
android:text="漏检总任务数:"
|
|
android:textSize="18sp" />
|
|
<TextView
|
|
android:id="@+id/tv_ljzrws"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5px"
|
|
android:layout_weight="1"
|
|
android:gravity="center|left"
|
|
android:minHeight="50px"
|
|
android:textColor="#ff0000"
|
|
android:text="0"
|
|
android:textSize="22sp" />
|
|
</LinearLayout>
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1">
|
|
|
|
<ListView
|
|
android:id="@+id/lv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="#dddddd"
|
|
android:dividerHeight="5dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_nodata"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:textColor="@color/viewfinder_mask"
|
|
android:gravity="center"
|
|
android:text="暂无数据"/>
|
|
|
|
</FrameLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@color/colorPrimary"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/tv_mjApplyManage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:textColor="@color/white"
|
|
android:gravity="center"
|
|
android:textSize="18sp"
|
|
android:text="@string/tv_mj_apply_manage"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |