Files
Xuewang365OSNeutral/app/src/main/res/layout/fragment_precision.xml
Fanhuitong 512f2ed70c version:1.7.9
fix:修复竖屏报错
update:增加客服,适配不同版本ai精准学
2024-06-11 14:49:13 +08:00

130 lines
6.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
tools:context=".fragment.precision.PrecisionFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintVertical_bias="0.35"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout3"
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_210"
android:background="@drawable/precision_box"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="人教版"
android:textColor="@color/white"
android:textSize="@dimen/sp_8"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/textView2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/textView2" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_8"
android:maxLines="1"
android:text="AI精准学"
android:textColor="@color/white"
android:textSize="@dimen/sp_14"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/constraintLayout">
<ImageView
android:id="@+id/iv_bunk"
android:layout_width="@dimen/dp_160"
android:layout_height="@dimen/dp_163"
android:src="@drawable/precision_question_bank"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/iv_paper"
android:layout_width="@dimen/dp_160"
android:layout_height="@dimen/dp_77"
android:layout_marginStart="@dimen/dp_9"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/precision_test_paper"
app:layout_constraintStart_toEndOf="@+id/iv_bunk"
app:layout_constraintTop_toTopOf="@+id/iv_bunk" />
<ImageView
android:id="@+id/iv_test"
android:layout_width="@dimen/dp_160"
android:layout_height="@dimen/dp_77"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/precision_stage_test"
app:layout_constraintBottom_toBottomOf="@+id/iv_bunk"
app:layout_constraintStart_toStartOf="@+id/iv_paper" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/iv_book"
android:layout_width="@dimen/dp_141"
android:layout_height="@dimen/dp_100"
android:layout_marginStart="@dimen/dp_10"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/precision_wrong_book"
app:layout_constraintStart_toEndOf="@+id/constraintLayout3"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/iv_favorites"
android:layout_width="@dimen/dp_141"
android:layout_height="@dimen/dp_100"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/precision_favorites"
app:layout_constraintBottom_toBottomOf="@+id/constraintLayout3"
app:layout_constraintStart_toStartOf="@+id/iv_book" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>