|
@@ -3,21 +3,103 @@
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:id="@+id/index_card"
|
|
|
+ android:layout_height="match_parent"
|
|
|
>
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/index_recycle"
|
|
|
- android:layout_width="match_parent" android:layout_height="match_parent"
|
|
|
- android:scrollbars="vertical"
|
|
|
- android:background="#EFE9E9"
|
|
|
|
|
|
- />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"
|
|
|
+ android:layout_marginHorizontal="6dp" android:layout_marginVertical="6dp"
|
|
|
+ >
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+
|
|
|
+ android:id="@+id/notification_layout"
|
|
|
+ android:layout_width="match_parent" android:layout_height="245dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/statistics_layout"
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
+ >
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:id="@+id/statistics_layout"
|
|
|
+ android:layout_width="match_parent" android:layout_height="80dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/ability_layout"
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
+
|
|
|
+ >
|
|
|
+
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ app:sCenterTextColor="#46DCB1"
|
|
|
+ app:sCenterTextIsBold="true"
|
|
|
+ app:sCenterTextSize="20sp"
|
|
|
+ app:sCenterTextString="10"
|
|
|
+ app:sCenterBottomTextString="当日线路"
|
|
|
+ app:sDividerLineColor="#F12323"
|
|
|
+ android:layout_width="80dp" android:layout_height="70dp"
|
|
|
+ app:sDividerLineType="bottom"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ app:sCenterTextColor="#46DCB1"
|
|
|
+ app:sCenterTextIsBold="true"
|
|
|
+ app:sCenterTextSize="20sp"
|
|
|
+ app:sCenterTextString="120"
|
|
|
+ android:layout_marginStart="110dp"
|
|
|
+ app:sDividerLineColor="#F12323"
|
|
|
+ app:sCenterBottomTextString="网点任务"
|
|
|
+ android:layout_width="80dp" android:layout_height="70dp"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ app:sCenterTextColor="#46DCB1"
|
|
|
+ app:sCenterTextIsBold="true"
|
|
|
+ app:sCenterTextSize="20sp"
|
|
|
+ app:sCenterTextString="30"
|
|
|
+ android:layout_marginStart="220dp"
|
|
|
+ app:sDividerLineColor="#F12323"
|
|
|
+ app:sCenterBottomTextString="周转箱(出)"
|
|
|
+ android:layout_width="80dp" android:layout_height="70dp"
|
|
|
+ />
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
+ app:sCenterTextColor="#46DCB1"
|
|
|
+ app:sCenterTextIsBold="true"
|
|
|
+ app:sCenterTextSize="20sp"
|
|
|
+ app:sCenterTextString="50"
|
|
|
+ android:layout_marginStart="320dp"
|
|
|
+ app:sDividerLineColor="#F12323"
|
|
|
+ app:sCenterBottomTextString="周转箱(入)"
|
|
|
+ android:layout_width="80dp" android:layout_height="70dp"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:id="@+id/ability_layout"
|
|
|
+ android:layout_width="match_parent" android:layout_height="300dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/ability_layout"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|