<?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/delete_button"
|
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>
|