<?xml version="1.0" encoding="utf-8"?>
|
<android.support.design.card.MaterialCardView
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:orientation="horizontal"
|
android:layout_width="220dp"
|
android:layout_height="wrap_content"
|
app:cardCornerRadius="@dimen/dimen16"
|
app:cardBackgroundColor="@color/white"
|
android:layout_marginEnd="@dimen/dimen16"
|
android:layout_marginBottom="@dimen/dimen4">
|
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/transparent"
|
android:padding="@dimen/dimen16"
|
android:elevation="@dimen/dimen2"
|
tools:ignore="UnusedAttribute">
|
|
<TextView
|
android:id="@+id/txt_1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/TextStyle.Category"
|
android:text="文件编号"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
<TextView
|
android:id="@+id/txt_night_work_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="夜间许可证编号"
|
style="@style/TextStyle.Category.Item"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_1"/>
|
|
<TextView
|
android:id="@+id/txt_2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/TextStyle.Category"
|
android:text="施工内容"
|
android:layout_marginTop="@dimen/dimen16"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_night_work_num"/>
|
|
<TextView
|
android:id="@+id/txt_content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/TextStyle.Category.Item"
|
tools:text="施工内容"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_2"/>
|
|
<TextView
|
android:id="@+id/txt_3"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/TextStyle.Category"
|
android:text="施工时间"
|
android:layout_marginTop="@dimen/dimen16"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_content"/>
|
|
<TextView
|
android:id="@+id/txt_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/TextStyle.Category.Item"
|
tools:text="2020.12.01-12.03"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_3"/>
|
|
</android.support.constraint.ConstraintLayout>
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="160dp"
|
android:src="@mipmap/ic_file"
|
android:layout_gravity="bottom|end"
|
android:layout_marginTop="150dp"
|
app:layout_constraintTop_toBottomOf="@id/txt_time"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
</android.support.design.card.MaterialCardView>
|