jimu-decompiled/resources/res/layout/recycler_item_question.xml
2025-05-13 19:24:51 +02:00

113 lines
5.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:swipe="http://schemas.android.com/apk/res-auto"
android:background="@drawable/shape_white"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_50"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_50"
android:layout_marginBottom="@dimen/dp_10"
android:minHeight="104dp">
<com.daimajia.swipe.SwipeLayout
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
swipe:leftEdgeSwipeOffset="0dp"
swipe:rightEdgeSwipeOffset="0dp">
<LinearLayout
android:gravity="center"
android:tag="Bottom3"
android:background="@drawable/shape_red_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="104dp"
android:minHeight="104dp">
<ImageView
android:layout_gravity="center"
android:id="@+id/deleteImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_edit_delete"/>
</LinearLayout>
<LinearLayout
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingLeft="@dimen/dp_25"
android:paddingTop="@dimen/dp_10"
android:paddingRight="@dimen/dp_25"
android:paddingBottom="@dimen/dp_10"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:textSize="@dimen/text_size_16"
android:textColor="@color/color_title_text"
android:ellipsize="end"
android:id="@+id/titleTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="提问:Jimu机器人的舵机编号是固定的吗"
android:maxLines="3"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_10">
<TextView
android:textSize="@dimen/text_size_16"
android:textColor="@color/txt_616d78"
android:id="@+id/scoreTipTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tips_score"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/txt_size_16"
android:textColor="@color/bg_black"
android:id="@+id/scoreTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="80"
android:layout_toRightOf="@+id/scoreTipTextView"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/txt_size_16"
android:textColor="@color/bg_white"
android:gravity="center"
android:id="@+id/statusTextView"
android:background="@drawable/level_yellow_background"
android:paddingLeft="@dimen/dp_15"
android:paddingRight="@dimen/dp_15"
android:layout_width="wrap_content"
android:layout_height="@dimen/dp_25"
android:layout_marginLeft="@dimen/dp_10"
android:text="80"
android:layout_toRightOf="@+id/scoreTextView"
android:layout_centerVertical="true"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/actionLayout"
android:paddingLeft="@dimen/dp_20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true">
<View
android:background="@drawable/shape_green_dot"
android:layout_width="6dp"
android:layout_height="6dp"/>
<View
android:background="@drawable/shape_green_dot"
android:layout_width="6dp"
android:layout_height="6dp"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"/>
<View
android:background="@drawable/shape_green_dot"
android:layout_width="6dp"
android:layout_height="6dp"/>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</com.daimajia.swipe.SwipeLayout>
</LinearLayout>