plugin_camera_select_imageview.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="100dp" >
  5. <ImageView
  6. android:id="@+id/image_view"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:adjustViewBounds="true"
  10. android:background="@drawable/plugin_camera_no_pictures"
  11. android:scaleType="centerCrop"
  12. android:layout_gravity="center"/>
  13. <RelativeLayout
  14. android:layout_width="fill_parent"
  15. android:layout_height="fill_parent"
  16. android:id="@+id/toggle"
  17. >
  18. <ToggleButton
  19. android:id="@+id/toggle_button"
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:background="@drawable/plugin_camera_pic_choose_selector"
  23. android:textOff="@null"
  24. android:textOn="@null" />
  25. <Button
  26. android:id="@+id/choosedbt"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:background="@drawable/plugin_camera_choosed"
  30. android:layout_alignParentRight="true"
  31. android:layout_alignParentTop="true"
  32. android:visibility="gone"
  33. />
  34. </RelativeLayout>
  35. </RelativeLayout>