| | |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/icon1" |
| | | src="@{viewModel.icon1}" |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="@dimen/dp_16" |
| | | android:layout_marginStart="@dimen/dp_68" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | src="@{viewModel.icon1}" |
| | | app:layout_constraintLeft_toLeftOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | tools:src="@drawable/svg_time2" /> |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/line1" |
| | | src="@{viewModel.line1}" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | src="@{viewModel.line1}" |
| | | app:layout_constraintBottom_toBottomOf="@+id/icon1" |
| | | app:layout_constraintLeft_toRightOf="@+id/icon1" |
| | | app:layout_constraintRight_toLeftOf="@+id/icon2" |
| | |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/icon2" |
| | | src="@{viewModel.icon2}" |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | src="@{viewModel.icon2}" |
| | | app:layout_constraintLeft_toLeftOf="parent" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/line2" |
| | | src="@{viewModel.line2}" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | src="@{viewModel.line2}" |
| | | app:layout_constraintBottom_toBottomOf="@+id/icon1" |
| | | app:layout_constraintLeft_toRightOf="@+id/icon2" |
| | | app:layout_constraintRight_toLeftOf="@+id/icon3" |
| | |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/icon3" |
| | | src="@{viewModel.icon3}" |
| | | android:layout_width="@dimen/dp_16" |
| | | android:layout_height="@dimen/dp_16" |
| | | android:layout_marginTop="@dimen/dp_16" |
| | | android:layout_marginEnd="@dimen/dp_68" |
| | | src="@{viewModel.icon3}" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | tools:src="@drawable/svg_circle" /> |
| | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <View |
| | | android:id="@+id/v_line" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/gray_4" |
| | | app:layout_constraintTop_toBottomOf="@id/layout" /> |
| | | |
| | | <ScrollView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_marginBottom="@dimen/dp_24" |
| | | app:layout_constraintBottom_toTopOf="@+id/viewPdf" |
| | | app:layout_constraintTop_toBottomOf="@+id/layout"> |
| | | app:layout_constraintTop_toBottomOf="@+id/v_line"> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_notice" |
| | | show="@{viewModel.carReportModel.status == 1}" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_40" |
| | | android:background="@color/color_e0ebf7" |
| | | android:gravity="center" |
| | | android:orientation="horizontal" |
| | | android:visibility="gone" |
| | | tools:visibility="visible" |
| | | android:orientation="horizontal"> |
| | | tools:visibility="visible"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_12" |
| | |
| | | android:textSize="@dimen/sp_12" /> |
| | | </LinearLayout> |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/img" |
| | | <LinearLayout |
| | | android:id="@+id/ll_pdf" |
| | | show="@{viewModel.carReportModel.status == 2}" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@id/ll_notice" |
| | | android:layout_marginHorizontal="@dimen/dp_20" |
| | | android:orientation="vertical" /> |
| | | |
| | | <androidx.appcompat.widget.AppCompatImageView |
| | | android:id="@+id/img" |
| | | show="@{viewModel.carReportModel.status != 2}" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_below="@id/ll_notice" |
| | | android:layout_margin="@dimen/dp_12" |
| | | android:adjustViewBounds="true" |
| | | android:layout_below="@id/ll_notice" |
| | | android:src="@mipmap/img_car_report1" /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/apply" |
| | | show="@{viewModel.carReportModel.status == 0}" |
| | | android:layout_width="@dimen/dp_200" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerInParent="true" |
| | | android:backgroundTint="@color/blue_5" |
| | | show="@{viewModel.carReportModel.status == 0}" |
| | | android:text="申请查看" |
| | | android:textSize="@dimen/sp_16" |
| | | android:textStyle="bold" |
| | |
| | | show="@{viewModel.carReportModel.status == 3}" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | tools:visibility="visible" |
| | | android:layout_centerInParent="true" |
| | | android:layout_marginHorizontal="@dimen/dp_28" |
| | | android:background="@drawable/shape_white_bg_4" |
| | | android:orientation="vertical" |
| | | android:padding="@dimen/dp_12" |
| | | android:orientation="vertical"> |
| | | tools:visibility="visible"> |
| | | |
| | | <androidx.appcompat.widget.AppCompatTextView |
| | | android:id="@+id/tv" |
| | |
| | | android:layout_marginTop="@dimen/dp_8" |
| | | android:lineSpacingMultiplier="1.3" |
| | | android:text="@{viewModel.carReportModel.xpPolicyApplicationVO.auditRemarks}" |
| | | tools:text="维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述" |
| | | android:textColor="@color/gray_9" |
| | | android:textSize="@dimen/sp_14" |
| | | android:textStyle="bold" /> |
| | | android:textStyle="bold" |
| | | tools:text="维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述维修原因描述" /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/reapply" |
| | |
| | | </ScrollView> |
| | | |
| | | <View |
| | | show="@{viewModel.carReportModel.status == 2}" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:layout_marginBottom="@dimen/dp_12" |
| | | show="@{viewModel.carReportModel.status == 2}" |
| | | android:background="@color/gray_4" |
| | | app:layout_constraintBottom_toTopOf="@+id/viewPdf" /> |
| | | |
| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginHorizontal="@dimen/dp_20" |
| | | show="@{viewModel.carReportModel.status == 2}" |
| | | android:layout_marginTop="@dimen/dp_24" |
| | | android:layout_marginBottom="@dimen/dp_12" |
| | | android:backgroundTint="@color/blue_5" |
| | | android:text="查看PDF" |
| | | android:textSize="@dimen/sp_16" |
| | | android:textStyle="bold" |
| | | android:visibility="gone" |
| | | app:cornerRadius="@dimen/dp_4" |
| | | app:layout_constraintBottom_toBottomOf="parent" /> |
| | | |