From 7e79979359bf5d3438afac05458e454c4786d50b Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 30 五月 2024 10:57:54 +0800 Subject: [PATCH] 2024年05月30日10:57:47 --- app/src/main/res/layout/item_device_details.xml | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/item_device_details.xml b/app/src/main/res/layout/item_device_details.xml index 2ab825c..021ad75 100644 --- a/app/src/main/res/layout/item_device_details.xml +++ b/app/src/main/res/layout/item_device_details.xml @@ -1,17 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> -<com.hdl.photovoltaic.widget.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<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/item_parent_swipeLayout" android:layout_width="match_parent" android:layout_height="wrap_content"> - - <include - android:id="@+id/swipe_layout_il" - layout="@layout/swipe_right_layout" /> + <!--鍏堥殣钘忓彸婊戝姛鑳� SwipeLayout--> + <!-- <include + android:id="@+id/swipe_layout_il" + layout="@layout/swipe_right_layout" + />--> <RelativeLayout android:id="@+id/item_parent_rl" - android:layout_width="match_parent" - android:layout_height="164dp"> + android:layout_width="0dp" + android:layout_height="164dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> <RelativeLayout android:id="@+id/device_details_info_rl" @@ -206,4 +211,4 @@ </RelativeLayout> -</com.hdl.photovoltaic.widget.SwipeLayout> \ No newline at end of file +</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.8.0