plugin_camera_show_all_photo.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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/albumback"
  6. >
  7. <RelativeLayout
  8. android:id="@+id/showallphoto_headview"
  9. android:layout_width="fill_parent"
  10. android:layout_height="45dp"
  11. android:background="@drawable/plugin_camera_title_bar"
  12. android:gravity="center_vertical"
  13. >
  14. <Button
  15. android:background="@drawable/plugin_camera_title_btn_back"
  16. android:layout_marginTop="5dp"
  17. android:layout_marginBottom="5dp"
  18. android:layout_width="70dp"
  19. android:layout_height="wrap_content"
  20. android:layout_centerVertical="true"
  21. android:textSize="14sp"
  22. android:textColor="#fff"
  23. android:id="@+id/showallphoto_back"
  24. android:text="@string/album"
  25. />
  26. <TextView
  27. android:id="@+id/showallphoto_headtitle"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:text="@string/photo"
  31. android:layout_centerInParent="true"
  32. android:singleLine="true"
  33. android:textSize="20sp"
  34. android:textColor="#ffffff"
  35. />
  36. <Button
  37. android:layout_width="67dp"
  38. android:layout_height="wrap_content"
  39. android:layout_alignParentRight="true"
  40. android:layout_centerVertical="true"
  41. android:layout_marginRight="5dp"
  42. android:id="@+id/showallphoto_cancel"
  43. android:text="@string/camera_cancel"
  44. android:textColor="#fff"
  45. android:textSize="15dp"
  46. android:background="@drawable/plugin_camera_title_btn_cancel"
  47. />
  48. </RelativeLayout>
  49. <RelativeLayout
  50. android:id="@+id/showallphoto_bottom_layout"
  51. android:layout_width="match_parent"
  52. android:layout_height="50dp"
  53. android:layout_alignParentBottom="true"
  54. android:background="@drawable/plugin_camera_bottom_bar" >
  55. <Button
  56. android:id="@+id/showallphoto_preview"
  57. android:layout_width="90dp"
  58. android:layout_height="wrap_content"
  59. android:layout_alignParentLeft="true"
  60. android:layout_centerVertical="true"
  61. android:layout_marginLeft="10dp"
  62. android:text="@string/preview"
  63. android:background="@drawable/plugin_camera_title_btn_preview"
  64. />
  65. <Button
  66. android:id="@+id/showallphoto_ok_button"
  67. android:layout_width="90dp"
  68. android:layout_height="wrap_content"
  69. android:layout_marginRight="10dp"
  70. android:layout_alignParentRight="true"
  71. android:layout_centerVertical="true"
  72. android:text="@string/unfinished"
  73. android:background="@drawable/plugin_camera_ok_btn_state"
  74. android:gravity="center"
  75. />
  76. </RelativeLayout>
  77. <GridView
  78. android:id="@+id/showallphoto_myGrid"
  79. android:layout_width="fill_parent"
  80. android:layout_height="fill_parent"
  81. android:layout_above="@id/showallphoto_bottom_layout"
  82. android:layout_below="@id/showallphoto_headview"
  83. android:layout_centerInParent="true"
  84. android:layout_marginTop="2dp"
  85. android:horizontalSpacing="10dp"
  86. android:numColumns="4"
  87. android:verticalSpacing="10dp"
  88. android:background="@color/albumback" />
  89. <ProgressBar
  90. android:id="@+id/showallphoto_progressbar"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_centerInParent="true" />
  94. </RelativeLayout>