spot_check_head_view.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical" >
  6. <LinearLayout
  7. android:layout_width="fill_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_marginTop="10dp"
  10. android:layout_marginLeft="10dp"
  11. android:orientation="horizontal"
  12. >
  13. <TextView
  14. android:layout_width="100dp"
  15. android:layout_height="wrap_content"
  16. android:layout_gravity="center"
  17. android:text="产品条码:"
  18. android:textColor="@color/white"
  19. android:textSize="@dimen/textsize_16"
  20. android:id="@+id/tw_code"/>
  21. <EditText
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:id="@+id/edt_barcode"
  25. android:textSize="@dimen/textsize_24"
  26. android:textColor="@color/white"
  27. android:singleLine="true"
  28. android:background="@null"
  29. android:text=""
  30. android:imeOptions="actionGo"
  31. android:layout_marginRight="10dp"
  32. />
  33. </LinearLayout>
  34. <LinearLayout
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_marginLeft="110dp"
  38. android:layout_marginRight="10dp"
  39. >
  40. <View
  41. android:layout_width="fill_parent"
  42. android:layout_height="1dp"
  43. android:background="@color/text_gray"
  44. />
  45. </LinearLayout>
  46. <LinearLayout
  47. android:layout_width="fill_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="5dp"
  50. android:orientation="horizontal"
  51. android:layout_marginLeft="10dp"
  52. >
  53. <TextView
  54. android:layout_width="100dp"
  55. android:layout_height="wrap_content"
  56. android:layout_gravity="center"
  57. android:text="抽查结果:"
  58. android:textColor="@color/white"
  59. android:textSize="@dimen/textsize_16"
  60. android:id="@+id/twtm"
  61. />
  62. <EditText
  63. android:id="@+id/edtSpotCheckResult"
  64. android:layout_width="fill_parent"
  65. android:layout_height="wrap_content"
  66. android:inputType="textMultiLine"
  67. android:minLines="5"
  68. android:maxLines="5"
  69. android:layout_marginRight="10dp"
  70. android:background="@drawable/bg"
  71. android:scrollbars="vertical"
  72. android:textColor="@color/black"
  73. android:textSize="@dimen/textsize_16"
  74. />
  75. </LinearLayout>
  76. <LinearLayout
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_marginLeft="110dp"
  80. android:layout_marginRight="10dp"
  81. android:orientation="vertical"
  82. >
  83. <View
  84. android:layout_width="fill_parent"
  85. android:layout_height="1dp"
  86. android:background="@color/text_gray"
  87. />
  88. </LinearLayout>
  89. <LinearLayout
  90. android:layout_width="fill_parent"
  91. android:layout_height="wrap_content"
  92. android:orientation="vertical"
  93. >
  94. <View
  95. android:layout_width="fill_parent"
  96. android:layout_height="1dp"
  97. android:layout_marginLeft="0dp"
  98. android:layout_marginRight="0dp"
  99. android:layout_marginTop="12dp"
  100. android:background="@color/text_gray"/>
  101. <TextView
  102. android:layout_width="wrap_content"
  103. android:layout_height="wrap_content"
  104. android:text="产品信息:"
  105. android:textColor="@color/white"
  106. android:textSize="@dimen/textsize_16"
  107. android:layout_marginTop="0dp"
  108. android:layout_marginLeft="10dp"
  109. />
  110. <View
  111. android:layout_width="fill_parent"
  112. android:layout_height="1dp"
  113. android:layout_marginLeft="0dp"
  114. android:layout_marginRight="0dp"
  115. android:layout_marginTop="0dp"
  116. android:background="@color/text_gray"/>
  117. </LinearLayout>
  118. </LinearLayout>