171 lines
7.0 KiB
XML
171 lines
7.0 KiB
XML
<?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:orientation="vertical"
|
|
tools:context=".activity.document.DocumentAddActivity">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="40dp"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="文档类型"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_doc_type"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:drawableRight="@drawable/ic_arrow_right"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="请选择文档类型"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="文件类型"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_file_type"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:drawableRight="@drawable/ic_arrow_right"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="请选择文件类型"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_ver">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="文档文件"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@drawable/shp_rectangle_gray"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_files"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:itemCount="3" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_ver">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="文件说明"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@drawable/shp_rectangle_gray"
|
|
android:orientation="vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/et_summary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@null"
|
|
android:gravity="left"
|
|
android:hint="请输入文件说明"
|
|
android:minLines="3"
|
|
android:padding="5dp"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_ver">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="备注"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@drawable/shp_rectangle_gray"
|
|
android:orientation="vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/et_remark"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@null"
|
|
android:gravity="left"
|
|
android:hint="请输入备注"
|
|
android:minLines="3"
|
|
android:padding="5dp"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
<Button
|
|
android:id="@+id/btn_confirm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/sel_btn_submit"
|
|
android:text="上传"
|
|
android:textColor="@color/col_white_gray_press" />
|
|
|
|
</RelativeLayout> |