From b6be9998a6daa8d9d9f53c8cff8b699e1beb0a79 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 20 一月 2025 15:41:07 +0800 Subject: [PATCH] # --- app/src/main/res/layout/edite_view.xml | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/layout/edite_view.xml b/app/src/main/res/layout/edite_view.xml new file mode 100644 index 0000000..ff92542 --- /dev/null +++ b/app/src/main/res/layout/edite_view.xml @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="10dp" + android:layout_margin="10dp" + android:background="#f5f5f5" + android:orientation="horizontal"> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="9" + android:orientation="vertical"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="4dp" + android:orientation="horizontal"> + + <TextView + android:layout_width="60dp" + android:layout_height="match_parent" + android:textStyle="bold" + android:text="AGV No:" + android:gravity="center_vertical"/> + <EditText + android:id="@+id/agvNo" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:hint="AGV No" + android:inputType="text" /> + + </LinearLayout> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="4dp" + android:orientation="horizontal"> + + <TextView + android:layout_width="60dp" + android:layout_height="match_parent" + android:textStyle="bold" + android:text="IP:" + android:gravity="center_vertical"/> + <EditText + android:id="@+id/ip" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:hint="192.168.1.100" + android:inputType="text" /> + </LinearLayout> + + </LinearLayout> + <ImageButton + android:id="@+id/deleteButton" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:layout_margin="10dp" + android:src="@android:drawable/ic_menu_delete" + android:background="?attr/selectableItemBackgroundBorderless" + android:padding="4dp" /> +</LinearLayout> \ No newline at end of file -- Gitblit v1.9.1