192 lines
7.7 KiB
XML
192 lines
7.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent">
|
||
|
||
<TextView
|
||
android:id="@+id/tv_measure_text1"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:text="1、以下哪种拍图做法正确?"
|
||
android:layout_marginLeft="15dp"
|
||
app:layout_constraintLeft_toLeftOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<LinearLayout
|
||
android:id="@+id/ll_choose1"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
app:layout_constraintTop_toBottomOf="@id/tv_measure_text1">
|
||
|
||
<RadioGroup
|
||
android:layout_width="match_parent"
|
||
android:layout_margin="10dp"
|
||
android:layout_height="wrap_content">
|
||
<RadioButton
|
||
android:id="@+id/rb_tv_measureA"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:xxxx" />
|
||
|
||
<RadioButton
|
||
android:id="@+id/rb_tv_measureB"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项B:xxxx" />
|
||
|
||
<RadioButton
|
||
android:id="@+id/rb_tv_measureC"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项C:xxxx" />
|
||
|
||
<RadioButton
|
||
android:id="@+id/rb_tv_measureD"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项D:xxxx" />
|
||
</RadioGroup>
|
||
</LinearLayout>
|
||
<TextView
|
||
android:id="@+id/tv_measure_text2"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:text="2、以下哪张图片正确?"
|
||
app:layout_constraintTop_toBottomOf="@id/ll_choose1"
|
||
app:layout_constraintLeft_toLeftOf="@id/tv_measure_text1"/>
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:id="@+id/ll_choose2"
|
||
app:layout_constraintTop_toBottomOf="@id/tv_measure_text2"
|
||
android:orientation="vertical">
|
||
<RadioGroup
|
||
android:layout_width="match_parent"
|
||
android:layout_margin="10dp"
|
||
android:layout_height="wrap_content">
|
||
<LinearLayout
|
||
android:id="@+id/ll_measureA"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureA"
|
||
/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:id="@+id/ll_measureB"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureB"/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:id="@+id/ll_measureC"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureC"/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:id="@+id/ll_measureD"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureD"/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:visibility="gone"
|
||
android:id="@+id/ll_measureE"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureE"/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:visibility="gone"
|
||
android:id="@+id/ll_measureF"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureF"/>
|
||
</LinearLayout>
|
||
<LinearLayout
|
||
android:id="@+id/ll_measureG"
|
||
android:visibility="gone"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
<RadioButton
|
||
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="选项A:"/>
|
||
<ImageView
|
||
android:layout_width="100dp"
|
||
android:layout_height="100dp"
|
||
android:src="@drawable/select_check"
|
||
android:id="@+id/iv_measureG"/>
|
||
</LinearLayout>
|
||
</RadioGroup>
|
||
</LinearLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |