-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
一旦将answer_item的布局替换成自己的布局,就无法出现数据了
<TextView
android:id="@+id/tv_anwer"
android:padding="30dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#222222"
android:textSize="18sp"
android:textStyle="bold"
android:text="以下Assignment 1 Python数据分析人工智能求助?"/>
<LinearLayout
android:paddingRight="30dp"
android:paddingLeft="10dp"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!--A选项-->
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvselecta"
android:textColor="#222222"
android:textSize="18sp"
android:gravity="center"
android:text=" A "
android:layout_width="56dp"
android:layout_height="56dp"/>
<ImageView
android:background="@drawable/solid_quent_theme"
android:layout_width="56dp"
android:layout_height="56dp"/>
<TextView
android:textSize="17dp"
android:gravity="center_vertical"
android:text="MySQL"
android:layout_toRightOf="@+id/tvselecta"
android:layout_width="match_parent"
android:layout_height="56dp"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvselectb"
android:textColor="#222222"
android:textSize="18sp"
android:gravity="center"
android:text=" A "
android:layout_width="56dp"
android:layout_height="56dp"/>
<ImageView
android:background="@drawable/solid_quent_theme"
android:layout_width="56dp"
android:layout_height="56dp"/>
<TextView
android:textSize="17dp"
android:gravity="center_vertical"
android:text="MySQL"
android:layout_toRightOf="@+id/tvselectb"
android:layout_width="match_parent"
android:layout_height="56dp"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvselectc"
android:textColor="#222222"
android:textSize="18sp"
android:gravity="center"
android:text=" A "
android:layout_width="56dp"
android:layout_height="56dp"/>
<ImageView
android:background="@drawable/solid_quent_theme"
android:layout_width="56dp"
android:layout_height="56dp"/>
<TextView
android:textSize="17dp"
android:gravity="center_vertical"
android:text="MySQL"
android:layout_toRightOf="@+id/tvselectc"
android:layout_width="match_parent"
android:layout_height="56dp"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvselectd"
android:textColor="#222222"
android:textSize="18sp"
android:gravity="center"
android:text=" A "
android:layout_width="56dp"
android:layout_height="56dp"/>
<ImageView
android:background="@drawable/solid_quent_theme"
android:layout_width="56dp"
android:layout_height="56dp"/>
<TextView
android:textSize="17dp"
android:gravity="center_vertical"
android:text="MySQL"
android:layout_toRightOf="@+id/tvselectd"
android:layout_width="match_parent"
android:layout_height="56dp"/>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels