item_in_storage.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="35dp"
  7. android:gravity="center_vertical"
  8. android:orientation="horizontal">
  9. <TextView
  10. android:id="@+id/item_name_TV"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_marginStart="10dp"
  14. android:layout_weight="1"
  15. android:duplicateParentState="true"
  16. android:ellipsize="marquee"
  17. android:focusable="true"
  18. android:focusableInTouchMode="true"
  19. android:marqueeRepeatLimit="marquee_forever"
  20. android:singleLine="true"
  21. android:text="化学品名称" />
  22. <TextView
  23. android:id="@+id/cas_TV"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:layout_weight="1"
  27. android:duplicateParentState="true"
  28. android:ellipsize="marquee"
  29. android:focusable="true"
  30. android:focusableInTouchMode="true"
  31. android:marqueeRepeatLimit="marquee_forever"
  32. android:singleLine="true"
  33. android:text="123456789" />
  34. <TextView
  35. android:id="@+id/item_type_TV"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_weight="1"
  39. android:duplicateParentState="true"
  40. android:ellipsize="marquee"
  41. android:focusable="true"
  42. android:focusableInTouchMode="true"
  43. android:marqueeRepeatLimit="marquee_forever"
  44. android:singleLine="true"
  45. android:text="普通危化品" />
  46. <TextView
  47. android:id="@+id/item_level_TV"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_weight="1"
  51. android:text="非管控" />
  52. <TextView
  53. android:id="@+id/item_norms_TV"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_weight="1"
  57. android:duplicateParentState="true"
  58. android:ellipsize="marquee"
  59. android:focusable="true"
  60. android:focusableInTouchMode="true"
  61. android:marqueeRepeatLimit="marquee_forever"
  62. android:singleLine="true"
  63. android:text="AR(分析纯)" />
  64. <TextView
  65. android:id="@+id/item_net_Wt_TV"
  66. android:layout_width="match_parent"
  67. android:layout_height="wrap_content"
  68. android:layout_weight="1"
  69. android:text="300ml" />
  70. <TextView
  71. android:id="@+id/item_num_TV"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_weight="1"
  75. android:gravity="center"
  76. android:text="100" />
  77. <TextView
  78. android:id="@+id/item_del_TV"
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. android:layout_weight="1"
  82. android:gravity="center"
  83. android:text="删除" />
  84. </LinearLayout>