plugin_camera_image_file.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/albumback"
  6. >
  7. <RelativeLayout
  8. android:id="@+id/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. <TextView
  15. android:id="@+id/headerTitle"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:text="@string/photo"
  19. android:layout_centerInParent="true"
  20. android:textSize="20sp"
  21. android:textColor="#ffffff"
  22. />
  23. <Button
  24. android:background="@drawable/plugin_camera_title_btn_cancel"
  25. android:layout_marginTop="5dp"
  26. android:layout_marginBottom="5dp"
  27. android:layout_width="70dp"
  28. android:layout_height="wrap_content"
  29. android:layout_centerVertical="true"
  30. android:id="@+id/cancel"
  31. android:text="@string/camera_cancel"
  32. android:layout_alignParentRight="true"
  33. android:textSize="14sp"
  34. android:textColor="#fff"
  35. />
  36. </RelativeLayout>
  37. <GridView
  38. android:id="@+id/fileGridView"
  39. android:layout_width="fill_parent"
  40. android:layout_height="fill_parent"
  41. android:layout_below="@id/headview"
  42. android:layout_centerInParent="true"
  43. android:horizontalSpacing="10dp"
  44. android:numColumns="2"
  45. android:verticalSpacing="10dp"
  46. android:background="@color/albumback"
  47. />
  48. </RelativeLayout>