|
|
|
@ -4,6 +4,86 @@
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:context="com.example.leudaemialikeme.Activity.SendQuestionActivity">
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
tools:context="com.example.leudaemialikeme.Activity.SendQuestionActivity" >
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/cancel"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="20dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="取消" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/text_question"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="3"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="25dp"
|
|
|
|
|
android:text="提问" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/commit"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="20dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="提交" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/editText_question"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:ems="10"
|
|
|
|
|
android:maxlength="40"
|
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:hint="请输入你的问题(10-40个字)" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/editText_question_detail"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="280dp"
|
|
|
|
|
android:ems="10"
|
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
|
android:maxLines="4"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:hint="(选填)填入补充说明" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/text_count"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="0/200"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
|
android:gravity="start"/>
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:src="@mipmap/img_upload_img"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|