activity_image_info.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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:background="@color/white"
  6. android:orientation="vertical" >
  7. <View
  8. android:layout_width="match_parent"
  9. android:layout_height="10dp"
  10. android:layout_marginTop="3dp"
  11. android:background="@color/linegray"
  12. />
  13. <LinearLayout
  14. android:layout_width="fill_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_marginTop="3dp"
  17. android:orientation="vertical" >
  18. <EditText
  19. android:id="@+id/edtRemark"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_marginLeft="15dp"
  23. android:background="@null"
  24. android:ems="10"
  25. android:hint="请填写备注内容"
  26. android:inputType="textMultiLine"
  27. android:maxLength="255"
  28. android:maxLines="4"
  29. android:minLines="4"
  30. android:scrollbars="vertical"
  31. android:textSize="@dimen/textsize_13" />
  32. </LinearLayout>
  33. <View
  34. android:layout_width="match_parent"
  35. android:layout_height="1dp"
  36. android:background="@color/linegray"
  37. />
  38. <LinearLayout
  39. android:id="@+id/ll_photo"
  40. android:layout_width="fill_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_marginTop="1dp"
  43. android:background="@color/white"
  44. >
  45. <com.dongkesoft.ibossmini.viewscroll.NoScrollGridView
  46. android:id="@+id/grid_photo"
  47. android:layout_width="wrap_content"
  48. android:layout_height="90dp"
  49. android:layout_gravity="center_vertical"
  50. android:layout_marginLeft="10dp"
  51. android:layout_marginRight="10dp"
  52. android:columnWidth="90dp"
  53. android:minHeight="0dp"
  54. android:numColumns="3"
  55. android:stretchMode="columnWidth">
  56. </com.dongkesoft.ibossmini.viewscroll.NoScrollGridView>
  57. </LinearLayout>
  58. <LinearLayout
  59. android:id="@+id/ll_image"
  60. android:layout_width="fill_parent"
  61. android:layout_height="wrap_content"
  62. android:layout_marginTop="1dp"
  63. android:background="@color/white"
  64. >
  65. <LinearLayout
  66. android:id="@+id/ll_takephoto"
  67. android:layout_width="0dp"
  68. android:layout_weight="1"
  69. android:layout_height="wrap_content"
  70. >
  71. <ImageView
  72. android:id="@+id/iv_takephoto"
  73. android:layout_width="15dp"
  74. android:layout_marginTop="10dp"
  75. android:layout_marginBottom="10dp"
  76. android:layout_marginLeft="15dp"
  77. android:layout_height="13dp"
  78. android:background="@drawable/new_log_add_photograph">
  79. </ImageView>
  80. <TextView
  81. android:layout_width="wrap_content"
  82. android:layout_marginTop="7dp"
  83. android:layout_marginLeft="3dp"
  84. android:textSize="@dimen/textsize_13"
  85. android:layout_height="wrap_content"
  86. android:text="照相"/>
  87. </LinearLayout>
  88. <LinearLayout
  89. android:id="@+id/ll_localphoto"
  90. android:layout_width="0dp"
  91. android:layout_weight="1"
  92. android:layout_height="wrap_content"
  93. >
  94. <ImageView
  95. android:id="@+id/iv_localphoto"
  96. android:layout_width="14dp"
  97. android:layout_height="15dp"
  98. android:layout_marginTop="10dp"
  99. android:layout_marginBottom="10dp"
  100. android:background="@drawable/new_log_add_photo_album"
  101. />
  102. <TextView
  103. android:layout_width="wrap_content"
  104. android:layout_marginTop="8dp"
  105. android:textSize="@dimen/textsize_13"
  106. android:layout_marginLeft="3dp"
  107. android:layout_height="wrap_content"
  108. android:text="相册"
  109. />
  110. </LinearLayout>
  111. </LinearLayout>
  112. </LinearLayout>