页面优化调整
This commit is contained in:
parent
5a6bc75ec2
commit
ade5a9ce4b
@ -9,6 +9,7 @@ import android.text.Html;
|
||||
import android.text.TextUtils;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.alibaba.android.arouter.facade.annotation.Route;
|
||||
@ -98,6 +99,8 @@ public class CheckRecordDetailActivity extends BaseActivity {
|
||||
RecyclerView mRlvTools;
|
||||
@BindView(R2.id.tv_info)
|
||||
TextView mTvInfo;
|
||||
@BindView(R2.id.ll_epi_info)
|
||||
LinearLayout mLlEpiInfo;
|
||||
@BindView(R2.id.tv_pro)
|
||||
TextView mTvPro;
|
||||
private Unbinder mBind;
|
||||
@ -238,34 +241,34 @@ public class CheckRecordDetailActivity extends BaseActivity {
|
||||
if (baseBean.getData() != null) {
|
||||
CheckRecordDetailBean data = baseBean.getData();
|
||||
doRequestProcessById(data.getProcessId());
|
||||
mTvCause.setText("进出事由 : " + data.getCause());
|
||||
mTvEndTime.setText("授权结束时间 : " + data.getEndTime());
|
||||
mTvStartTime.setText("授权开始时间 : " + data.getStartTime());
|
||||
mTvManagerUser.setText("带领人员 : " + data.getGuideUserName());
|
||||
mTvFieldName.setText("进入监区:" + data.getFieldnNames());
|
||||
mTvCause.setText(data.getCause());//进出事由
|
||||
mTvEndTime.setText(data.getEndTime());//授权结束时间
|
||||
mTvStartTime.setText(data.getStartTime());//授权开始时间
|
||||
mTvManagerUser.setText(data.getGuideUserName());//"带领人员 : " +
|
||||
mTvFieldName.setText(data.getFieldnNames());//"进入监区:" +
|
||||
//TODO 防疫措施
|
||||
if ("1".equals(data.getType())) {
|
||||
//车辆进出
|
||||
if (UserInfoSPUtils.getCarIsShow()) {
|
||||
mTvInfo.setVisibility(View.VISIBLE);
|
||||
mLlEpiInfo.setVisibility(View.VISIBLE);
|
||||
mTvInfo.setText(UserInfoSPUtils.getCarParams() + ":" + data.getInform());
|
||||
} else {
|
||||
mTvInfo.setVisibility(View.GONE);
|
||||
mLlEpiInfo.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
//人员进出
|
||||
if (UserInfoSPUtils.getPersonIsShow()) {
|
||||
mTvInfo.setVisibility(View.VISIBLE);
|
||||
mLlEpiInfo.setVisibility(View.VISIBLE);
|
||||
mTvInfo.setText(UserInfoSPUtils.getPersonParams() + ":" + data.getInform());
|
||||
} else {
|
||||
mTvInfo.setVisibility(View.GONE);
|
||||
mLlEpiInfo.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
if ("1".equals(data.getProduction())) {
|
||||
mTvPro.setText("是否需要进入生产区域:需要进入");
|
||||
mTvPro.setText("需要进入");
|
||||
} else {
|
||||
mTvPro.setText("是否需要进入生产区域:无需进入");
|
||||
mTvPro.setText("无需进入");
|
||||
}
|
||||
Glide.with(mActivity)
|
||||
.load(BaseUrlApi.BASE_URL + data.getPhotoRecordPath())
|
||||
@ -283,13 +286,13 @@ public class CheckRecordDetailActivity extends BaseActivity {
|
||||
});
|
||||
|
||||
if (TextUtils.isEmpty(data.getType())) {
|
||||
mTvType.setText("进出类型 : 未知");
|
||||
mTvType.setText("未知");
|
||||
} else {
|
||||
if ("1".equals(data.getType())) {
|
||||
mRlvTools.setVisibility(View.GONE);
|
||||
mTvColHint.setText("司机、随车特警、带领民警、车合照");
|
||||
mTvTools.setText("装载货物 : " + data.getCarryTools());
|
||||
mTvType.setText("进出类型 : 车辆进出");
|
||||
mTvTools.setText( data.getCarryTools());//"装载货物 : " +
|
||||
mTvType.setText("车辆进出");
|
||||
mTvCop.setVisibility(View.VISIBLE);
|
||||
if (!TextUtils.isEmpty(data.getCertificatesPhotoPath())) {
|
||||
mTvColCarHint.setVisibility(View.VISIBLE);
|
||||
@ -314,16 +317,16 @@ public class CheckRecordDetailActivity extends BaseActivity {
|
||||
mIvCarCard.setVisibility(View.GONE);
|
||||
}
|
||||
if (!TextUtils.isEmpty(data.getFollowCarUserName())) {
|
||||
mTvCop.setText("随车特警 : " + data.getFollowCarUserName());
|
||||
mTvCop.setText( data.getFollowCarUserName());
|
||||
} else {
|
||||
mTvCop.setText("随车特警 : 无");
|
||||
mTvCop.setText("无");
|
||||
}
|
||||
} else {
|
||||
mIvCarCard.setVisibility(View.GONE);
|
||||
mTvColCarHint.setVisibility(View.GONE);
|
||||
mTvColHint.setText("外来人员、带领民警合照");
|
||||
mTvTools.setText("携带工具 : " + data.getCarryTools());
|
||||
mTvType.setText("进出类型 : 人员进出");
|
||||
mTvTools.setText( data.getCarryTools());
|
||||
mTvType.setText("人员进出");
|
||||
mTvCop.setVisibility(View.GONE);
|
||||
mRlvTools.setVisibility(View.VISIBLE);
|
||||
//TODO 携带工具数据回显
|
||||
|
BIN
modulecheck/src/main/res/drawable-xhdpi/ic_arrow_sort_gray.png
Normal file
BIN
modulecheck/src/main/res/drawable-xhdpi/ic_arrow_sort_gray.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 211 B |
Binary file not shown.
After Width: | Height: | Size: 83 B |
BIN
modulecheck/src/main/res/drawable-xhdpi/ic_start_hint.png
Normal file
BIN
modulecheck/src/main/res/drawable-xhdpi/ic_start_hint.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 511 B |
6
modulecheck/src/main/res/drawable/shape_rectangle_gray_5.xml
Executable file
6
modulecheck/src/main/res/drawable/shape_rectangle_gray_5.xml
Executable file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/gray_bg" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
15
modulecheck/src/main/res/drawable/shp_rectangle_bottom_border.xml
Executable file
15
modulecheck/src/main/res/drawable/shp_rectangle_bottom_border.xml
Executable file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 边框颜色值 -->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="#EFEFEF" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体背景颜色值 -->
|
||||
<item android:bottom="1dp">
|
||||
<shape>
|
||||
<solid android:color="@color/white" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
@ -13,245 +13,316 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/gray_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="登记类型"
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
android:text="基础信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cause"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="进出事由"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="进出类型" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="进出类型" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="进出事由"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cause"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="进出事由"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="授权开始时间" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_start_time"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="授权开始时间" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="授权结束时间" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_end_time"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="授权结束时间" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="带领民警" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_manager_user"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="带领民警" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="随车特警" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cop"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="随车特警" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border_ver">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="携带工具/装载货物" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tools"
|
||||
style="@style/sel_text_arrow_ver"
|
||||
android:hint="携带工具/装载货物"
|
||||
android:minHeight="60dp" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_epi_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="卫生防疫措施"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="卫生防疫措施"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="是否进入生产区域" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_pro"
|
||||
style="@style/sel_text_show"
|
||||
|
||||
android:hint="是否需要进入生产区域" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border_ver">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="进入监区" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_field_name"
|
||||
style="@style/sel_text_arrow_ver"
|
||||
android:hint="进入监区"
|
||||
android:minHeight="60dp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="@color/text_gray_66"
|
||||
android:text="审批状态" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_status"
|
||||
style="@style/sel_text_show"
|
||||
android:hint="审批状态" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
android:text="详细信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_start_time"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="授权开始时间:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_end_time"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="授权结束时间:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<ImageView
|
||||
android:id="@+id/iv_photo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_manager_user"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="带领民警:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<TextView
|
||||
android:id="@+id/iv_col_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
tools:text="请上传司机、随车特警、带领民警、车合照" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="随车特警:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<ImageView
|
||||
android:id="@+id/ic_car_cred"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_crad_default" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="携带工具/装载货物:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<TextView
|
||||
android:id="@+id/iv_col_car_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:text="车辆证件照" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="卫生防疫措施:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<TextView
|
||||
android:id="@+id/tv_into_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:padding="8dp"
|
||||
android:text="进入人员/进入车辆"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_pro"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="是否需要进入生产区域:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:minHeight="150dp"
|
||||
android:padding="5dp"
|
||||
android:scrollbars="none" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<TextView
|
||||
android:id="@+id/tv_flow_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:padding="8dp"
|
||||
android:text="流程节点"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_field_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="进入监区:"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="审批状态"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_col_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:padding="5dp"
|
||||
tools:text="请上传司机、随车特警、带领民警、车合照" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_photo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_flow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:minHeight="150dp"
|
||||
android:padding="5dp"
|
||||
android:scrollbars="none" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_col_car_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:padding="5dp"
|
||||
android:text="车辆证件照" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ic_car_cred"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_crad_default" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_into_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:padding="8dp"
|
||||
android:text="进入人员/进入车辆:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:minHeight="150dp"
|
||||
android:padding="5dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_flow_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:padding="8dp"
|
||||
android:text="流程节点:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_flow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:minHeight="150dp"
|
||||
android:padding="5dp" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -2,7 +2,8 @@
|
||||
<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">
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray_bg">
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/sv_content"
|
||||
@ -16,230 +17,294 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_incident"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="请输入进出事由"
|
||||
android:minHeight="100dp"
|
||||
<TextView
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
android:text="基础信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp">
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.3"
|
||||
android:background="@color/white"
|
||||
android:padding="5dp"
|
||||
android:text="授权开始时间:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_start_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:background="@color/white"
|
||||
android:hint="请选择开始时间"
|
||||
android:padding="5dp"
|
||||
android:textSize="@dimen/text_18"
|
||||
tools:text="2018年11月12日24:22:22" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.3"
|
||||
android:background="@color/white"
|
||||
android:padding="5dp"
|
||||
android:text="授权结束时间:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_end_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:background="@color/white"
|
||||
android:hint="请选择结束时间"
|
||||
android:padding="5dp"
|
||||
android:textSize="@dimen/text_18"
|
||||
tools:text="2018年11月12日24:22:22" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lead_cop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择带领民警"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择登记类型"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add_car"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加\n车辆"
|
||||
android:textColor="@color/sel_btn_white_black"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_field"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择进入监区"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_carry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="请输入携带工具"
|
||||
android:maxLines="1"
|
||||
android:minHeight="50dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:hint="携带工具照片"
|
||||
android:padding="5dp" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_tools_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:hint="请上传进监人员与带领民警合照"
|
||||
android:padding="5dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_car_person_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:minHeight="100dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add_person"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:padding="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加人员"
|
||||
android:textColor="@color/sel_btn_white_black"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:descendantFocusability="blocksDescendants">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_person"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:minHeight="10dp" />
|
||||
</RelativeLayout>
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="进出事由"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_incident"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="请输入进出事由"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="授权开始时间" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_start_time"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择授权开始时间" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="授权结束时间" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_end_time"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择授权结束时间" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="带领民警" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lead_cop"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择带领民警" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择登记类型"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add_car"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加\n车辆"
|
||||
android:textColor="@color/sel_btn_white_black"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="进入监区" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_field"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择进入监区" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:text="详细信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="携带工具"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_carry"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="请输入携带工具"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="携带工具相片"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_tools_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_car_person_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:text="请上传进监人员与带领民警合照"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_15" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_remark"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="请输入备注信息"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add_person"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:padding="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加进入人员"
|
||||
android:textColor="@color/sel_btn_white_black"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:descendantFocusability="blocksDescendants">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_person"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:minHeight="10dp" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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">
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray_bg">
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/sv_content"
|
||||
@ -16,213 +16,285 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_incident"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="请输入进出事由"
|
||||
android:minHeight="100dp"
|
||||
<TextView
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
android:text="基础信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp">
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.3"
|
||||
android:background="@color/white"
|
||||
android:padding="5dp"
|
||||
android:text="授权开始时间:"
|
||||
android:textColor="@color/black"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="进出事由"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_incident"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="请输入进出事由"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_start_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:background="@color/white"
|
||||
android:hint="请选择开始时间"
|
||||
android:padding="5dp"
|
||||
android:textSize="@dimen/text_18"
|
||||
tools:text="2018年11月12日24:22:22" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp">
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="授权开始时间" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_start_time"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择授权开始时间" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="授权结束时间" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_end_time"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择授权结束时间" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="带领民警" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_lead_cop"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择带领民警" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="随车特警" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_cop"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择随车特警" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/item_white_bottom_border">
|
||||
|
||||
<TextView
|
||||
style="@style/item_title_wrap"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="进入监区" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_field"
|
||||
style="@style/sel_text_arrow"
|
||||
android:hint="请选择进入监区" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.3"
|
||||
android:background="@color/white"
|
||||
android:padding="5dp"
|
||||
android:text="授权结束时间:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_end_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:background="@color/white"
|
||||
android:hint="请选择结束时间"
|
||||
android:padding="5dp"
|
||||
android:textSize="@dimen/text_18"
|
||||
tools:text="2018年11月12日24:22:22" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_lead_cop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择带领民警"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_cop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择随车特警"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_field"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawableRight="@android:drawable/arrow_down_float"
|
||||
android:hint="请选择进入监区"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="请上传司机、随车特警、带领民警、车合照"
|
||||
android:padding="5dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_car_person_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
style="@style/issue_report_title"
|
||||
android:drawableLeft="@drawable/ic_item_title_icon_rec"
|
||||
android:drawablePadding="5dp"
|
||||
android:padding="8dp"
|
||||
android:text="详细信息"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_car_person_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="车辆证件照"
|
||||
android:padding="5dp" />
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_person_default" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="(请将货物来源证明也拍入其中)"
|
||||
android:textColor="@color/colorRedBg"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
android:gravity="center"
|
||||
android:hint="请上传司机、随车特警、带领民警、车合照"
|
||||
android:padding="5dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ic_car_cred"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_crad_default" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_carry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="请输入装载货物"
|
||||
android:maxLines="1"
|
||||
android:minHeight="60dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
<ImageView
|
||||
android:id="@+id/ic_car_cred"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:minHeight="150dp"
|
||||
android:src="@drawable/ic_car_crad_default" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:minHeight="100dp"
|
||||
android:padding="8dp"
|
||||
android:text=""
|
||||
android:textSize="@dimen/text_18" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_car_add_car"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:padding="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加车辆"
|
||||
android:textColor="@color/sel_btn_white_black" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="车辆证件照"
|
||||
android:padding="5dp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:descendantFocusability="blocksDescendants">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="(请将货物来源证明也拍入其中)"
|
||||
android:textColor="@color/colorRedBg"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_car_person"
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:background="@color/gray_bg" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="装载货物"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<ImageView
|
||||
style="@style/style_hint_star"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_carry"
|
||||
style="@style/item_content_match_ver_gray"
|
||||
android:hint="请输入装载货物"
|
||||
android:inputType="textMultiLine"
|
||||
android:minHeight="100dp"
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_car_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:minHeight="10dp" />
|
||||
</RelativeLayout>
|
||||
android:background="@drawable/shape_input_white_bg"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="left"
|
||||
android:hint="请输入备注信息"
|
||||
android:minHeight="100dp"
|
||||
android:padding="8dp"
|
||||
android:text=""
|
||||
android:textSize="@dimen/text_18" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_car_add_car"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/sel_btn_submit"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:padding="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="添加进入车辆"
|
||||
android:textColor="@color/sel_btn_white_black" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_car_person"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:minHeight="10dp" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@color/white"
|
||||
android:orientation="horizontal"
|
||||
android:padding="2dp">
|
||||
|
||||
|
84
modulecheck/src/main/res/values/styles.xml
Normal file
84
modulecheck/src/main/res/values/styles.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="issue_report_title">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
</style>
|
||||
<style name="item_content_match_ver_gray">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:background">@drawable/shape_rectangle_gray_5</item>
|
||||
<item name="android:gravity">left</item>
|
||||
<item name="android:padding">10dp</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:layout_marginTop">5dp</item>
|
||||
</style>
|
||||
<style name="style_hint_star">
|
||||
<item name="android:layout_width">8dp</item>
|
||||
<item name="android:layout_height">8dp</item>
|
||||
<item name="android:background">@drawable/ic_start_hint</item>
|
||||
</style>
|
||||
<style name="item_white_bottom_border">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:background">@drawable/shp_rectangle_bottom_border</item>
|
||||
<item name="android:orientation">horizontal</item>
|
||||
<item name="android:paddingTop">5dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
</style>
|
||||
<style name="item_white_bottom_border_ver">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:background">@drawable/shp_rectangle_bottom_border</item>
|
||||
<item name="android:orientation">vertical</item>
|
||||
<item name="android:paddingTop">5dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
</style>
|
||||
<style name="item_title_wrap">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:padding">2dp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
<style name="sel_text_arrow">
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:drawablePadding">5dp</item>
|
||||
<item name="android:drawableRight">@drawable/ic_arrow_sort_gray</item>
|
||||
<item name="android:gravity">right</item>
|
||||
<item name="android:padding">5dp</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
</style>
|
||||
<style name="sel_text_arrow_ver">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:drawablePadding">5dp</item>
|
||||
<item name="android:gravity">left</item>
|
||||
<item name="android:padding">5dp</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="sel_text_show">
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:drawablePadding">5dp</item>
|
||||
<item name="android:gravity">right</item>
|
||||
<item name="android:padding">5dp</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user