From e102578ebfc95c27aeb13dce13fb82af53a2bead Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 25 二月 2021 17:07:23 +0800
Subject: [PATCH] 1. 新增夜间施工查询界面 2. 新增夜间施工管理统计界面
---
app/src/main/res/layout/item_night_work.xml | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/app/src/main/res/layout/item_night_work.xml b/app/src/main/res/layout/item_night_work.xml
index 661068b..502f99e 100644
--- a/app/src/main/res/layout/item_night_work.xml
+++ b/app/src/main/res/layout/item_night_work.xml
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
-<android.support.design.card.MaterialCardView
+<android.support.v7.widget.CardView
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_width="200dp"
android:layout_height="wrap_content"
app:cardCornerRadius="@dimen/dimen16"
app:cardBackgroundColor="@color/white"
- android:layout_marginEnd="@dimen/dimen16"
+ android:layout_marginStart="@dimen/dimen4"
+ android:layout_marginEnd="@dimen/dimen8"
+ android:layout_marginTop="@dimen/dimen4"
android:layout_marginBottom="@dimen/dimen4">
<android.support.constraint.ConstraintLayout
@@ -77,14 +79,30 @@
</android.support.constraint.ConstraintLayout>
+ <TextView
+ android:id="@+id/txt_sign"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start|bottom"
+ android:background="@drawable/button_bg_enable_2"
+ style="@style/TextStyle.Category.Item"
+ android:textColor="@color/white"
+ android:paddingStart="@dimen/dimen8"
+ android:paddingEnd="@dimen/dimen8"
+ android:paddingTop="@dimen/dimen2"
+ android:paddingBottom="@dimen/dimen2"
+ android:layout_marginStart="@dimen/dimen16"
+ android:layout_marginBottom="@dimen/dimen16"
+ android:text="绛炬敹"/>
+
<ImageView
android:layout_width="wrap_content"
android:layout_height="160dp"
android:src="@mipmap/ic_file"
android:layout_gravity="bottom|end"
- android:layout_marginTop="150dp"
+ android:layout_marginTop="120dp"
app:layout_constraintTop_toBottomOf="@id/txt_time"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
-</android.support.design.card.MaterialCardView>
\ No newline at end of file
+</android.support.v7.widget.CardView>
\ No newline at end of file
--
Gitblit v1.9.3