<?xml version="1.0" encoding="utf-8"?>
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:scrollbars="none">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="19dp"
|
android:id="@+id/cl_1"
|
android:background="@drawable/bg_white_8dp">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="81dp"
|
android:layout_height="100dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginStart="16dp"
|
android:layout_marginVertical="9dp"
|
android:id="@+id/bg"
|
android:background="@drawable/bg_card_blue">
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/poker"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="@id/bg"
|
app:layout_constraintStart_toEndOf="@id/bg"
|
android:layout_marginStart="13dp"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
android:id="@+id/tv_name_1"
|
android:textColor="@color/textColor"
|
android:text="自主游戏1- 超级听力"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="19dp"
|
android:id="@+id/cl_2"
|
android:background="@drawable/bg_white_8dp">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="81dp"
|
android:layout_height="100dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginStart="16dp"
|
android:layout_marginVertical="9dp"
|
android:id="@+id/bg_2"
|
android:background="@drawable/bg_card_pink">
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/poker"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="@id/bg_2"
|
app:layout_constraintStart_toEndOf="@id/bg_2"
|
android:layout_marginStart="13dp"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
android:id="@+id/tv_name_2"
|
android:textColor="@color/textColor"
|
android:text="自主游戏2-超级记忆"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</LinearLayout>
|
</ScrollView>
|