|
|
@@ -52,8 +52,9 @@
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
android:id="@+id/titleLayout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="@dimen/divider_48px"
|
|
|
+ android:layout_marginTop="@dimen/divider_20px"
|
|
|
android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
app:cardBackgroundColor="@android:color/white"
|
|
|
app:cardCornerRadius="@dimen/divider_12px"
|
|
|
@@ -70,27 +71,102 @@
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_marginStart="@dimen/divider_34px"
|
|
|
+ android:layout_marginTop="@dimen/divider_21px"
|
|
|
android:layout_marginEnd="@dimen/divider_37px"
|
|
|
android:layout_marginBottom="@dimen/divider_36px"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
+ app:cardBackgroundColor="@android:color/white"
|
|
|
+ app:cardCornerRadius="@dimen/divider_20px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/titleLayout">
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rvResult"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/titleLayour"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_71px"
|
|
|
+ android:background="@color/color_FF4A76FF"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="测评标题"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="测评内容"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="题目数量"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="总分"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/imageArrow"
|
|
|
+ android:layout_width="@dimen/divider_48px"
|
|
|
+ android:layout_height="@dimen/divider_62px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_114px" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
+ android:id="@+id/swipeEvaluation"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@color/color_FFE6ECFF"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/titleLayour">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvEvaluation"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
+ </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
-
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
-
|
|
|
</layout>
|