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.
330 lines
12 KiB
XML
330 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/lb"
|
|
layout="@layout/layout_base" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/lb"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="考试类别:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_type"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center|left"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="考试类型:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_kslb"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center|left"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="考试名称:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_ksmc"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center|left"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="考试有效期:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_ksyxtime"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center|left"
|
|
android:textSize="13sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="允许考试次数:"
|
|
android:layout_margin="3dp"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/kscs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="已考试次数:"
|
|
android:layout_margin="3dp"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/ykscs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="考试时间:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_kssjtime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="考试状态:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_kszt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="是否过期:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_isks"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text="发布人:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_fbr"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:text=""
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="25dp"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="考试分数:"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/fs_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center|left"
|
|
android:textColor="@color/red"
|
|
android:text=""
|
|
android:minHeight="25dp"
|
|
android:textSize="30sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
android:layout_margin="@dimen/px_10"
|
|
android:minHeight="30dp"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
android:text="总分:"
|
|
android:textSize="40sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/passimageview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:src="@drawable/pass" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/start_btn"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_width="match_parent"
|
|
style="@style/button"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:text="开始考试" />
|
|
|
|
|
|
</RelativeLayout> |