From cdf49871675e42a5576f725a93eec7ca15294c6f Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期二, 15 四月 2025 17:22:34 +0800 Subject: [PATCH] Merge branch '1.5.2' --- app/src/main/res/layout/activity_message_info.xml | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 168 insertions(+), 1 deletions(-) diff --git a/app/src/main/res/layout/activity_message_info.xml b/app/src/main/res/layout/activity_message_info.xml index 1f943ac..7d2f933 100644 --- a/app/src/main/res/layout/activity_message_info.xml +++ b/app/src/main/res/layout/activity_message_info.xml @@ -4,8 +4,175 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/text_FFFFFFFF" + android:background="@color/text_FF000000" tools:context=".ui.message.MessageInfoActivity"> + <include + android:id="@+id/toolbar_top_rl" + layout="@layout/toolbar_top_view_44" + android:layout_width="match_parent" + android:layout_height="@dimen/dp_44" + android:layout_marginTop="@dimen/dp_38" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <androidx.constraintlayout.widget.ConstraintLayout + android:id="@+id/message_info_cl" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/dp_10" + android:background="@color/text_FF1C1C1E" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/toolbar_top_rl"> + + <LinearLayout + android:id="@+id/ll" + android:layout_width="match_parent" + android:layout_height="@dimen/dp_20" + android:layout_marginStart="@dimen/dp_16" + android:layout_marginTop="@dimen/dp_16" + android:gravity="center_vertical" + android:orientation="horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <TextView + android:id="@+id/message_info_alarm_state_tv" + android:layout_width="7dp" + android:layout_height="7dp" + android:background="@drawable/device_state_ffb9b9b9" /> + + <TextView + android:id="@+id/message_info_home_name_tv" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:ellipsize="end" + android:gravity="center_vertical|start" + android:paddingStart="@dimen/dp_6" + android:paddingEnd="@dimen/dp_20" + android:singleLine="true" + android:textColor="@color/text_FFACACAC" + android:textSize="@dimen/text_16" /> + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/dp_20" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/ll"> + + <include + android:id="@+id/message_info_alarm_content_in" + layout="@layout/line_message_info" /> + <!--闅旈棿+闂撮殧绾柯�--> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="@dimen/dp_32" + android:gravity="center"> + + <View + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:background="@color/text_1AFFFFFF" /> + </LinearLayout> + + <include + android:id="@+id/message_info_alarm_device_in" + layout="@layout/line_message_info" /> + + <!--闅旈棿+闂撮殧绾柯�--> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="@dimen/dp_32" + android:gravity="center"> + + <View + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:background="@color/text_1AFFFFFF" /> + </LinearLayout> + <!--浜у搧璇寸‖浠舵病鍋� 闅愯棌鎺� 2024骞�05鏈�28鏃�13:46:53--> + <include + android:id="@+id/message_info_alarm_range_in" + layout="@layout/line_message_info" + android:visibility="gone" /> + + <View + android:layout_width="match_parent" + android:layout_height="@dimen/dp_33" + android:visibility="gone" /> + + <include + android:id="@+id/message_info_power_station_location_in" + layout="@layout/line_message_info" /> + <!--闅旈棿+闂撮殧绾柯�--> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="@dimen/dp_32" + android:gravity="center"> + + <View + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:background="@color/text_1AFFFFFF" /> + </LinearLayout> + + <include + android:id="@+id/message_info_alarm_time_in" + layout="@layout/line_message_info" /> + + <View + android:layout_width="match_parent" + android:layout_height="@dimen/dp_16" /> + + </LinearLayout> + + + </androidx.constraintlayout.widget.ConstraintLayout> + + <LinearLayout + android:id="@+id/message_info_work_out" + android:layout_width="match_parent" + android:layout_height="82dp" + android:gravity="center" + android:orientation="horizontal" + android:paddingStart="@dimen/dp_20" + android:paddingEnd="@dimen/dp_20" + android:visibility="gone" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent"> + + <TextView + android:id="@+id/message_info_back_tv" + android:layout_width="157.5dp" + android:layout_height="@dimen/dp_52" + android:background="@drawable/bj_ff555859_no" + android:gravity="center" + android:text="@string/message_alarm_details_back" + android:textColor="@color/text_FFACACAC" + android:textSize="@dimen/text_14" /> + + <View + android:layout_width="@dimen/dp_20" + android:layout_height="match_parent" /> + + <TextView + android:id="@+id/message_info_solve_tv" + android:layout_width="157.5dp" + android:layout_height="@dimen/dp_52" + android:background="@drawable/bj_ff39383d" + android:gravity="center" + android:text="@string/message_alarm_details_resolved" + android:textColor="@color/text_FFACACAC" + android:textSize="@dimen/text_14" /> + </LinearLayout> + </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.8.0