From 59340c0b9107c813d6b3a5c953d693212485ad11 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 20 八月 2025 13:31:22 +0800
Subject: [PATCH] 2025年08月20日13:31:14
---
app/src/main/res/layout/item_station.xml | 68 +++++++++++++++++++++------------
1 files changed, 43 insertions(+), 25 deletions(-)
diff --git a/app/src/main/res/layout/item_station.xml b/app/src/main/res/layout/item_station.xml
index 32adc65..c6b0224 100644
--- a/app/src/main/res/layout/item_station.xml
+++ b/app/src/main/res/layout/item_station.xml
@@ -2,33 +2,51 @@
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/station_status_cl"
- android:layout_width="74dp"
- android:layout_height="56dp"
- android:background="@drawable/station_status_no_ffffff">
+ android:layout_width="90dp"
+ android:layout_height="66dp">
- <TextView
- android:id="@+id/station_status_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_25"
- android:layout_marginTop="7dp"
- android:text="99"
- android:textColor="@color/text_90000000"
- android:textSize="@dimen/text_21"
- android:textStyle="bold"
- app:layout_constraintEnd_toEndOf="parent"
+ <LinearLayout
+ android:id="@+id/parent_ll"
+ android:layout_width="@dimen/dp_74"
+ android:layout_height="match_parent"
+ android:background="@drawable/station_status_no_ffffff"
+ android:orientation="vertical"
+ app:layout_constraintEnd_toStartOf="@+id/v"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent">
- <TextView
- android:id="@+id/station_status_number_tv"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/dp_17"
- android:layout_marginTop="1dp"
- android:text="state"
- android:textColor="@color/text_40000000"
- android:textSize="@dimen/text_14"
- app:layout_constraintEnd_toEndOf="@+id/station_status_tv"
- app:layout_constraintStart_toStartOf="@+id/station_status_tv"
- app:layout_constraintTop_toBottomOf="@+id/station_status_tv" />
+ <TextView
+ android:id="@+id/station_total_tv"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/dp_25"
+ android:layout_marginTop="4dp"
+ android:gravity="center"
+ android:paddingTop="@dimen/dp_0"
+ android:paddingBottom="@dimen/dp_0"
+ android:text="0"
+ android:textColor="@color/text_E6000000"
+ android:textSize="@dimen/text_21"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/station_title_tv"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/dp_20"
+ android:layout_marginTop="1dp"
+ android:gravity="center"
+ android:text="state"
+ android:textColor="@color/text_66000000"
+ android:textSize="@dimen/text_14" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/v"
+ android:layout_width="@dimen/dp_16"
+ android:layout_height="match_parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+
+ />
+
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
--
Gitblit v1.8.0