|
@@ -0,0 +1,193 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#f5f5f5"
|
|
|
+>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#f5f5f5"
|
|
|
+ android:paddingHorizontal="8dp"
|
|
|
+>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
|
+ app:contentPadding="20dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:id="@+id/top_net_member"
|
|
|
+ >
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ >
|
|
|
+
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.imageview.RadiusImageView
|
|
|
+ android:id="@+id/top_profile_image"
|
|
|
+ android:layout_width="90dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ app:riv_border_color="@color/xui_config_color_gray_6"
|
|
|
+ app:riv_border_width="0.5pt"
|
|
|
+ app:riv_is_circle="false"
|
|
|
+ app:riv_selected_border_color="@color/xui_config_color_gray_4"
|
|
|
+ app:riv_selected_border_width="1px"
|
|
|
+ app:riv_selected_mask_color="@color/xui_config_color_gray_8"
|
|
|
+ app:riv_corner_radius="20dp"
|
|
|
+ android:background="@drawable/ic_mine_profile"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/top_profile_title"
|
|
|
+ app:layout_constraintBaseline_toTopOf="parent"
|
|
|
+ tools:layout_editor_absoluteY="0dp"/>
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:id="@+id/top_profile_title"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/top_profile_image"
|
|
|
+ app:sCenterBottomTextString="押解员"
|
|
|
+ app:sCenterTextString="张三"
|
|
|
+ app:layout_constraintBaseline_toTopOf="parent"
|
|
|
+ app:sCenterTextIsBold="true"
|
|
|
+ app:sCenterTextSize="26sp"
|
|
|
+ />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+
|
|
|
+ <jx.cn.escort.ui.widget.TaskCardView
|
|
|
+
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/top_net_member"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/card_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginVertical="8dp"
|
|
|
+ app:contentPadding="2dp"
|
|
|
+ app:cardBackgroundColor="@color/MainGreen.Light"
|
|
|
+ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ >
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.textview.autofit.AutoFitLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/line_card_divide"
|
|
|
+ android:id="@+id/line_card_head"
|
|
|
+ >
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ app:sLeftTextString="一号线"
|
|
|
+ app:sLeftTextSize="20sp"
|
|
|
+ app:sRightTextSize="20sp"
|
|
|
+ app:sBackgroundDrawableRes="@color/MainGreen.Light"/>
|
|
|
+ </com.xuexiang.xui.widget.textview.autofit.AutoFitLayout>
|
|
|
+ <com.google.android.material.divider.MaterialDivider
|
|
|
+ android:id="@+id/line_card_divide"
|
|
|
+ app:dividerThickness="1pt"
|
|
|
+ app:dividerColor="#b5c6c6"
|
|
|
+ app:dividerInsetStart="2dp"
|
|
|
+ app:dividerInsetEnd="2dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/line_card_head"
|
|
|
+ android:theme="@style/App.Material"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.textview.autofit.AutoFitLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/line_card_content"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/line_card_divide"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:paddingStart="20dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ app:sLeftTextString="任务编号:"
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
+ app:sLeftTextSize="15sp"
|
|
|
+ app:sRightTextSize="15sp"
|
|
|
+ app:sBackgroundDrawableRes="@color/MainGreen.Light"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ app:sLeftTextString="任务类型:"
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
+ app:sLeftTextSize="15sp"
|
|
|
+ app:sRightTextSize="15sp"
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
+ app:sBackgroundDrawableRes="@color/MainGreen.Light"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ app:sLeftTextString="状态:"
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
+ app:sLeftTextSize="15sp"
|
|
|
+ app:sRightTextSize="15sp"
|
|
|
+ android:layout_marginTop="80dp"
|
|
|
+ app:sBackgroundDrawableRes="@color/MainGreen.Light"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ app:sLeftTextString="箱包:"
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
+ app:sLeftTextSize="15sp"
|
|
|
+ app:sRightTextSize="15sp"
|
|
|
+ android:layout_marginTop="120dp"
|
|
|
+ app:sBackgroundDrawableRes="@color/MainGreen.Light"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </com.xuexiang.xui.widget.textview.autofit.AutoFitLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </jx.cn.escort.ui.widget.TaskCardView>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.button.roundbutton.RoundButton
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:rb_backgroundColor="@color/MainGreen"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/card_content"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="100dp"
|
|
|
+ app:rb_radius="100dp"
|
|
|
+ android:text="扫描验证"
|
|
|
+ android:layout_marginTop="50dp"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </FrameLayout>
|