producttest_list_item.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/message_relative"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:focusable="true"
  7. android:orientation="horizontal" >
  8. <LinearLayout
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_margin="10dp"
  12. android:layout_marginBottom="5dp"
  13. android:layout_marginTop="5dp"
  14. android:orientation="horizontal" >
  15. <LinearLayout
  16. android:layout_width="wrap_content"
  17. android:layout_height="match_parent"
  18. android:layout_weight="2"
  19. android:gravity="center_vertical" >
  20. <TextView
  21. android:id="@+id/tv_BARCODE"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_weight="2"
  25. android:text="1234567891" >
  26. </TextView>
  27. <TextView
  28. android:id="@+id/tv_GOODSTYPENAME"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_weight="2"
  32. android:text="Hwweqw" >
  33. </TextView>
  34. <TextView
  35. android:id="@+id/tv_GOODSCODE"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_weight="1"
  39. android:text="智能" >
  40. </TextView>
  41. </LinearLayout>
  42. <Button
  43. android:id="@+id/tv_delete"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_weight="1"
  47. android:text="删除" >
  48. </Button>
  49. </LinearLayout>
  50. </RelativeLayout>