item_homework_error.xml 1.85 KB
<?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:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="20dp"
    tools:ignore="ContentDescription,HardcodedText">

    <ImageView
        android:id="@+id/ivTopic"
        android:adjustViewBounds="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <TextView
        android:text="知识点"
        android:textSize="15sp"
        android:textColor="@color/white"
        android:textStyle="bold"
        android:paddingStart="66dp"
        android:paddingEnd="40dp"
        android:gravity="center_vertical"
        android:background="@drawable/bg_knowledge_point_title"
        android:layout_width="156dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"/>
    <TextView
        android:id="@+id/tvPoints"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginVertical="8dp"/>

    <TextView
        android:text="解析"
        android:textSize="15sp"
        android:textColor="@color/white"
        android:textStyle="bold"
        android:paddingStart="66dp"
        android:paddingEnd="40dp"
        android:gravity="center_vertical"
        android:background="@drawable/bg_analyse_title"
        android:layout_width="156dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"/>

    <ImageView
        android:id="@+id/ivAnalyze"
        android:adjustViewBounds="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>

</LinearLayout>