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.
ZHDCOA/app/src/main/res/layout/fragment_practiceinfo.xml

228 lines
9.7 KiB
XML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?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:background="#EBEBEB"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="UselessParent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:orientation="horizontal">
<TextView
android:id="@+id/state_tx"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="(单选)"
android:textColor="#0099ff"
android:textSize="24sp" />
<TextView
android:id="@+id/question_tx"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/px_5"
android:text="石油中除碳、氢外,还有氧、()硫等元素,一般它们总量不超过普通题%在个别油田可达5%7%"
android:textColor="@color/black"
android:textSize="24sp" />
</LinearLayout>
<ImageView
android:id="@+id/iv_picTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/todo"
android:minWidth="200dp"
android:minHeight="200dp"
android:visibility="gone" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:background="@color/white">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/DXTLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<com.rehome.zhdcoa.weiget.ListViewForScrollView
android:id="@+id/lv_main"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:choiceMode="singleChoice"
android:divider="@null"
tools:ignore="NestedScrolling" />
</LinearLayout>
<LinearLayout
android:id="@+id/DUOXTLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<com.rehome.zhdcoa.weiget.ListViewForScrollView
android:id="@+id/lv_DUOX"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@null" />
</LinearLayout>
<LinearLayout
android:id="@+id/PDLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<RadioGroup
android:id="@+id/YNRG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="10dp">
<RadioButton
android:id="@+id/yesRB"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:button="@drawable/dxtselector"
android:text="正确"
android:textSize="20dp" />
<RadioButton
android:id="@+id/noRB"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:button="@drawable/dxtselector"
android:text="错误"
android:textSize="20dp" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:id="@+id/JDTLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<EditText
android:id="@+id/answerET"
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_margin="5dp"
android:background="#EDEDED"
android:hint="请输入你的答案..." />
</LinearLayout>
<LinearLayout
android:id="@+id/JSTLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="5dp"
android:text="注意:如果有多个填空或者需要填写多个答案,请用^进行分隔"
android:textColor="@color/black"
android:textSize="15sp" />
<Button
android:id="@+id/btn_add_splite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/btn_add_slipt"
android:padding="5dp"
android:textColor="#999999"
android:text="添加分隔符^"
android:textSize="15sp" />
<EditText
android:id="@+id/answerJST"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="5dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:background="#EDEDED"
android:hint="请输入你的答案..." />
</LinearLayout>
<LinearLayout
android:id="@+id/HUTLL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="点击拍照或照片库选择附件"
android:textColor="@color/black"
android:textSize="15sp" />
<GridView
android:id="@+id/gridView"
android:layout_width="fill_parent"
android:layout_height="250dp"
android:layout_margin="8dp"
android:horizontalSpacing="8dp"
android:numColumns="3"
android:verticalSpacing="8dp" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>