<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:id="@+id/card1"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:paddingBottom="18dp">
|
|
<TextView
|
android:id="@+id/mtvName"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="20dp"
|
android:textColor="@color/black"
|
android:textSize="18sp"
|
android:textStyle="bold"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
tools:text="七人足球赛" />
|
|
<TextView
|
android:id="@+id/mtvTag"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:background="@drawable/shape_tag_bg"
|
android:paddingHorizontal="5dp"
|
android:paddingVertical="5dp"
|
android:textColor="@color/colorPrimary"
|
android:textSize="10sp"
|
app:layout_constraintBottom_toBottomOf="@+id/mtvName"
|
app:layout_constraintLeft_toRightOf="@+id/mtvName"
|
app:layout_constraintTop_toTopOf="@+id/mtvName"
|
tools:text="足球场" />
|
|
<View
|
android:id="@+id/vloc"
|
android:layout_width="11dp"
|
android:layout_height="16dp"
|
android:layout_marginTop="16dp"
|
android:background="@mipmap/dingweiicon"
|
app:layout_constraintLeft_toLeftOf="@+id/mtvName"
|
app:layout_constraintTop_toBottomOf="@+id/mtvName" />
|
|
<TextView
|
android:id="@+id/mtvAdr"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="7dp"
|
android:text="大陆空军副司令大家"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
app:layout_constraintBottom_toBottomOf="@+id/vloc"
|
app:layout_constraintLeft_toRightOf="@+id/vloc"
|
app:layout_constraintRight_toRightOf="@+id/vcall"
|
app:layout_constraintTop_toTopOf="@+id/vloc" />
|
|
|
<View
|
android:id="@+id/vcall"
|
android:layout_width="50dp"
|
android:layout_height="50dp"
|
android:layout_marginEnd="5dp"
|
android:background="@mipmap/ic_dial"
|
app:layout_constraintBottom_toBottomOf="@+id/vloc"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toTopOf="@+id/mtvName" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="6dp"
|
android:background="@drawable/bg_shadow_top" />
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:scrollbars="none"
|
android:layout_weight="1">
|
<LinearLayout
|
android:id="@+id/card2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingHorizontal="14dp"
|
android:paddingTop="14dp">
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form1"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:title="场地名称:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="预约类型:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form3"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="半场名称:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form4"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="预约人:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form5"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="联系方式:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form6"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="支付价格:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form7"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="预约时间:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form8"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
app:title="支付时间:" />
|
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form9"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
android:layout_marginBottom="16dp"
|
app:title="使用状态:" />
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:id="@+id/ll_qr">
|
<com.dollearn.student.views.FormView
|
android:id="@+id/form10"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:title="二维码:" />
|
|
<ImageView
|
android:id="@+id/iv_qr"
|
android:layout_width="140dp"
|
android:layout_height="140dp"
|
android:layout_gravity="center"
|
android:layout_marginTop="5dp"
|
android:padding="10dp"
|
android:scaleType="fitXY" />
|
|
<TextView
|
android:id="@+id/tv_timer"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginTop="6dp"
|
android:textStyle="bold"
|
android:visibility="gone"
|
android:textSize="14sp"
|
android:textColor="@color/colorRed"
|
android:text="距可入场时间:00:00:00:"/>
|
|
<TextView
|
android:id="@+id/tv_tishi"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="17dp"
|
android:drawableLeft="@mipmap/tixingtishi"
|
android:text="您已经预约成功,请在预约时段扫码此二维码入场。您可以在“预约场地-已预约场地-详情”页面找到此二维码。"
|
android:textColor="#A4000000"
|
android:textSize="12sp" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="6dp"
|
android:layout_marginBottom="10dp"
|
android:background="@drawable/bg_shadow_top"
|
app:layout_constraintTop_toBottomOf="@id/card1" />
|
|
<LinearLayout
|
android:id="@+id/rlbottomm"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="bottom|center_horizontal"
|
android:orientation="horizontal"
|
android:paddingBottom="23dp">
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
android:layout_width="144dp"
|
android:layout_height="40dp"
|
android:background="@drawable/shape_red_20r"
|
android:gravity="center"
|
android:text="取消"
|
android:textColor="@color/white"
|
android:textSize="15sp" />
|
|
<TextView
|
android:id="@+id/tv_pay"
|
android:layout_width="144dp"
|
android:layout_height="40dp"
|
android:layout_marginStart="20dp"
|
android:background="@drawable/shape_or_20r"
|
android:gravity="center"
|
android:text="支付"
|
android:textColor="@color/white"
|
android:textSize="15sp" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|