<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
|
tools:context=".patient.ui.complain.ComplainActivity">
|
<include layout="@layout/toolbar"/>
|
<ScrollView
|
android:layout_weight="1"
|
android:layout_width="match_parent"
|
android:layout_height="0dp">
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
|
<androidx.cardview.widget.CardView
|
android:foreground="?android:attr/selectableItemBackground"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/article_card_radius"
|
app:cardUseCompatPadding="true"
|
app:cardElevation="5dp"
|
android:paddingTop="10dp">
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:id="@+id/ll_header_layout"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/tv_first"
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="请描述您所遇到的问题或建议:"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"/>
|
|
<ImageView
|
android:id="@+id/iv_arrow"
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_width="12dp"
|
android:layout_height="12dp"/>
|
|
</LinearLayout>
|
|
|
<TextView style="@style/Line"/>
|
</LinearLayout>
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/tv_seconed"
|
android:padding="@dimen/margin_common"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:text="请描述您所遇到的问题或建议:"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:id="@+id/tv_count_top"
|
android:text="10/200"
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
|
|
<TextView style="@style/Line"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="100dp">
|
<EditText
|
android:layout_margin="@dimen/margin_common"
|
android:background="@null"
|
android:id="@+id/et_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
</EditText>
|
</LinearLayout>
|
|
|
|
<TextView
|
android:id="@+id/tv_count_bottom"
|
android:gravity="end"
|
android:text="10/200"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_marginBottom="@dimen/margin_common"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
|
<LinearLayout
|
android:id="@+id/ll_pic_top_layout"
|
android:orientation="horizontal"
|
android:layout_margin="@dimen/margin_common_half"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
</LinearLayout>
|
<LinearLayout
|
android:layout_margin="@dimen/margin_common"
|
android:id="@+id/ll_pic_top_count"
|
android:orientation="vertical"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<TextView
|
android:text="上传凭证"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:id="@+id/tv_top_count_info"
|
android:text="最多3张"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/gray_deep"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</androidx.cardview.widget.CardView>
|
|
<LinearLayout
|
android:id="@+id/ll_pic_bottom_layout"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_pic_bottom_count"
|
android:orientation="vertical"
|
android:layout_marginBottom="@dimen/margin_common_half"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<TextView
|
android:text="上传凭证"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:id="@+id/tv_bottom_count_info"
|
android:text="最多3张"
|
android:textSize="@dimen/text_size_15"
|
android:textColor="@color/gray_deep"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
</LinearLayout>
|
<TextView
|
android:id="@+id/tv_sub_info"
|
android:textSize="@dimen/text_size_13"
|
android:textColor="@color/black_title"
|
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
|
<LinearLayout
|
android:visibility="gone"
|
android:id="@+id/ll_contact"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:textColor="@color/black_title"
|
android:textSize="@dimen/text_size_15"
|
android:text="您的联系方式(选填)"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common_half"
|
|
android:orientation="horizontal"
|
android:layout_gravity="center_vertical"
|
android:gravity="center_vertical"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<TextView
|
android:textColor="@color/black_msg"
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:layout_marginRight="@dimen/margin_common_half"
|
android:text="手机号"
|
android:layout_width="80dp"
|
android:layout_height="wrap_content"/>
|
<EditText
|
android:id="@+id/tv_phone"
|
android:padding="4dp"
|
android:textColor="@color/gray_deep"
|
android:textSize="@dimen/text_size_12"
|
android:background="@drawable/shape_button_gray"
|
android:layout_width="180dp"
|
android:layout_height="wrap_content">
|
|
</EditText>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_marginTop="@dimen/margin_common_half"
|
android:layout_marginBottom="@dimen/margin_common"
|
android:orientation="horizontal"
|
android:layout_gravity="center_vertical"
|
android:gravity="center_vertical"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<EditText
|
android:id="@+id/tv_email"
|
android:padding="4dp"
|
android:textColor="@color/gray_deep"
|
android:textSize="@dimen/text_size_12"
|
android:background="@drawable/shape_button_gray"
|
android:layout_width="180dp"
|
android:layout_height="wrap_content">
|
|
</EditText>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
|
</ScrollView>
|
<Button
|
android:id="@+id/iv_send"
|
android:background="@drawable/shape_button_green"
|
android:textColor="@color/white"
|
android:textSize="@dimen/text_size_15"
|
android:text="提交"
|
android:layout_marginRight="24dp"
|
android:layout_marginLeft="24dp"
|
android:layout_marginBottom="24dp"
|
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
</Button>
|
</LinearLayout>
|