姜永辉 4 месяцев назад
Родитель
Сommit
1176c9905a
1 измененных файлов с 57 добавлено и 0 удалено
  1. 57 0
      res/layout/producttest_list_item.xml

+ 57 - 0
res/layout/producttest_list_item.xml

@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/message_relative"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:focusable="true"
+    android:orientation="horizontal" >
+
+    <LinearLayout
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:layout_margin="10dp"
+        android:layout_marginBottom="5dp"
+        android:layout_marginTop="5dp"
+        android:orientation="horizontal" >
+
+        <LinearLayout
+            android:layout_width="wrap_content"
+            android:layout_height="match_parent"
+            android:layout_weight="2"
+            android:gravity="center_vertical" >
+
+            <TextView
+                android:id="@+id/tv_BARCODE"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_weight="2"
+                android:text="1234567891" >
+            </TextView>
+
+            <TextView
+                android:id="@+id/tv_GOODSTYPENAME"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_weight="2"
+                android:text="Hwweqw" >
+            </TextView>
+
+            <TextView
+                android:id="@+id/tv_GOODSCODE"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_weight="1"
+                android:text="智能" >
+            </TextView>
+        </LinearLayout>
+
+        <Button
+            android:id="@+id/tv_delete"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_weight="1"
+            android:text="删除" >
+        </Button>
+    </LinearLayout>
+
+</RelativeLayout>