piece_head_view.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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/good_code"
  25. android:textSize="@dimen/textsize_24"
  26. android:textColor="@color/white"
  27. android:singleLine="true"
  28. android:maxLength="30"
  29. android:background="@null"
  30. android:text=""
  31. android:imeOptions="actionGo"
  32. android:layout_marginRight="10dp"
  33. />
  34. </LinearLayout>
  35. <LinearLayout
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_marginLeft="110dp"
  39. android:layout_marginRight="10dp"
  40. >
  41. <View
  42. android:layout_width="fill_parent"
  43. android:layout_height="1dp"
  44. android:background="@color/text_gray"
  45. />
  46. </LinearLayout>
  47. <LinearLayout
  48. android:layout_width="fill_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_marginTop="5dp"
  51. android:orientation="horizontal"
  52. android:layout_marginLeft="10dp"
  53. >
  54. <TextView
  55. android:layout_width="100dp"
  56. android:layout_height="wrap_content"
  57. android:layout_gravity="center"
  58. android:text="产品条码:"
  59. android:textColor="@color/white"
  60. android:textSize="@dimen/textsize_16"
  61. android:id="@+id/twtm"
  62. />
  63. <EditText
  64. android:id="@+id/good_tm"
  65. android:layout_width="fill_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_marginRight="10dp"
  68. android:singleLine="true"
  69. android:textSize="@dimen/textsize_24"
  70. android:background="@null"
  71. android:imeOptions="actionGo"
  72. android:textColor="@color/white"
  73. android:text=""/>
  74. </LinearLayout>
  75. <LinearLayout
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:layout_marginLeft="110dp"
  79. android:layout_marginRight="10dp"
  80. android:orientation="vertical"
  81. >
  82. <View
  83. android:layout_width="fill_parent"
  84. android:layout_height="1dp"
  85. android:background="@color/text_gray"
  86. />
  87. </LinearLayout>
  88. <LinearLayout
  89. android:layout_width="fill_parent"
  90. android:layout_height="wrap_content"
  91. android:orientation="vertical"
  92. >
  93. <View
  94. android:layout_width="fill_parent"
  95. android:layout_height="1dp"
  96. android:layout_marginLeft="0dp"
  97. android:layout_marginRight="0dp"
  98. android:layout_marginTop="12dp"
  99. android:background="@color/text_gray"/>
  100. <TextView
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:text="产品信息:"
  104. android:textColor="@color/white"
  105. android:textSize="@dimen/textsize_16"
  106. android:layout_marginTop="0dp"
  107. android:layout_marginLeft="10dp"
  108. />
  109. <View
  110. android:layout_width="fill_parent"
  111. android:layout_height="1dp"
  112. android:layout_marginLeft="0dp"
  113. android:layout_marginRight="0dp"
  114. android:layout_marginTop="0dp"
  115. android:background="@color/text_gray"/>
  116. </LinearLayout>
  117. </LinearLayout>