plugin_camera_gallery.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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/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:textSize="14sp"
  16. android:textColor="#fff"
  17. android:id="@+id/gallery_back"
  18. android:text="@string/album"
  19. android:background="@drawable/plugin_camera_title_btn_back"
  20. android:layout_marginTop="5dp"
  21. android:layout_marginBottom="5dp"
  22. android:layout_width="70dp"
  23. android:layout_height="wrap_content"
  24. android:layout_centerVertical="true"
  25. />
  26. <Button
  27. android:textSize="14sp"
  28. android:textColor="#fff"
  29. android:id="@+id/gallery_del"
  30. android:background="@drawable/plugin_camera_del_state"
  31. android:layout_alignParentRight="true"
  32. android:layout_marginTop="5dp"
  33. android:layout_marginBottom="5dp"
  34. android:layout_width="50dp"
  35. android:layout_height="wrap_content"
  36. />
  37. </RelativeLayout>
  38. <RelativeLayout
  39. android:id="@+id/bottom_layout"
  40. android:layout_width="match_parent"
  41. android:layout_height="45dp"
  42. android:layout_alignParentBottom="true"
  43. android:background="@drawable/plugin_camera_bottom_bar" >
  44. <Button
  45. android:id="@+id/send_button"
  46. android:layout_width="90dp"
  47. android:layout_height="30dp"
  48. android:layout_alignParentRight="true"
  49. android:layout_centerVertical="true"
  50. android:text="@string/finish"
  51. android:background="@drawable/plugin_camera_ok_btn_state"
  52. />
  53. </RelativeLayout>
  54. <com.dongkesoft.ibossmini.photo.zoom.ViewPagerFixed
  55. android:id="@+id/gallery"
  56. android:layout_width="fill_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_above="@id/bottom_layout"
  59. android:layout_below="@id/headview"
  60. android:layout_centerHorizontal="true"
  61. android:background="@color/plugin_camera_black"
  62. android:unselectedAlpha="1"
  63. />
  64. </RelativeLayout>