[关闭]
@ZSCDumin 2018-04-15T13:30:47.000000Z 字数 3567 阅读 459
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical"
  7. tools:context="com.msw.mesapp.activity.home.equipment.DeviceInfoActivity">
  8. <include
  9. layout="@layout/title_layout"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"/>
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:layout_marginTop="50dp"
  16. android:orientation="vertical">
  17. <LinearLayout
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_gravity="center"
  21. android:background="@drawable/shape_qr_border"
  22. android:orientation="vertical">
  23. <ImageView
  24. android:id="@+id/qr_code_iv"
  25. android:layout_width="280dp"
  26. android:layout_height="110dp"
  27. android:layout_gravity="center"
  28. android:layout_marginBottom="5dp"
  29. android:layout_marginLeft="10dp"
  30. android:layout_marginRight="10dp"
  31. android:layout_marginTop="10dp"
  32. android:src="@mipmap/head"/>
  33. <TextView
  34. android:id="@+id/qr_id_tv"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_gravity="center"
  38. android:layout_marginBottom="10dp"
  39. android:text="aaaaaaaa"/>
  40. </LinearLayout>
  41. <LinearLayout
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:layout_marginBottom="5dp"
  45. android:layout_marginLeft="5dp"
  46. android:layout_marginRight="10dp"
  47. android:layout_marginTop="30dp"
  48. android:orientation="horizontal">
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_margin="5dp"
  53. android:text="设备编码:"
  54. android:textSize="15dp"/>
  55. <TextView
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_margin="5dp"
  59. android:text="2"
  60. android:textSize="15dp"/>
  61. </LinearLayout>
  62. <View
  63. android:layout_width="match_parent"
  64. android:layout_height="1dip"
  65. android:layout_marginLeft="10dip"
  66. android:layout_marginRight="10dip"
  67. android:background="#FF909090"/>
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:layout_margin="5dp"
  72. android:orientation="horizontal">
  73. <TextView
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_margin="5dp"
  77. android:text="生产线编码:"
  78. android:textSize="15dp"/>
  79. <TextView
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_margin="5dp"
  83. android:text="001"
  84. android:textSize="15dp"
  85. />
  86. </LinearLayout>
  87. <View
  88. android:layout_width="match_parent"
  89. android:layout_height="1dip"
  90. android:layout_marginLeft="10dip"
  91. android:layout_marginRight="10dip"
  92. android:background="#FF909090"/>
  93. <LinearLayout
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:layout_margin="5dp"
  97. android:orientation="horizontal">
  98. <TextView
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:layout_margin="5dp"
  102. android:text="部门编码:"
  103. android:textSize="15dp"/>
  104. <TextView
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_margin="5dp"
  108. android:text="003"
  109. android:textSize="15dp"/>
  110. </LinearLayout>
  111. <View
  112. android:layout_width="match_parent"
  113. android:layout_height="1dip"
  114. android:layout_marginLeft="10dip"
  115. android:layout_marginRight="10dip"
  116. android:background="#FF909090"/>
  117. <Button
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_marginLeft="20dp"
  121. android:layout_marginRight="20dp"
  122. android:layout_marginTop="200px"
  123. android:background="@drawable/bt_shape"
  124. android:text="打印"
  125. android:textColor="#FFFFFF"
  126. android:textSize="30dp"/>
  127. </LinearLayout>
  128. </LinearLayout>
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注