myview.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:oulingxmlns="http://schemas.android.com/apk/res/com.ouling.weibo"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent" >
  6. <LinearLayout
  7. android:layout_width="fill_parent"
  8. android:layout_height="fill_parent"
  9. android:orientation="vertical" >
  10. <LinearLayout
  11. android:layout_width="fill_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="horizontal" >
  14. <Button
  15. android:id="@+id/btn_return"
  16. android:layout_width="fill_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_weight="1"
  19. android:text="cancel" />
  20. <Button
  21. android:id="@+id/btn_save"
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_weight="1"
  25. android:text="save" />
  26. </LinearLayout>
  27. <FrameLayout
  28. android:layout_width="fill_parent"
  29. android:layout_height="fill_parent" >
  30. <com.ouling.weibo.util.MyImageView
  31. android:id="@+id/imageView"
  32. android:layout_width="fill_parent"
  33. android:layout_height="fill_parent"
  34. oulingxmlns:gif="true" />
  35. <ZoomControls
  36. android:id="@+id/zoomControls"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_gravity="center_horizontal|bottom" />
  40. </FrameLayout>
  41. </LinearLayout>
  42. <LinearLayout
  43. android:id="@+id/myview_waitingView"
  44. android:layout_width="fill_parent"
  45. android:layout_height="fill_parent"
  46. android:gravity="center"
  47. android:orientation="horizontal" >
  48. <ProgressBar
  49. style="?android:attr/progressBarStyleSmallTitle"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content" />
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:paddingLeft="10dip"
  56. android:text="加载中..." />
  57. </LinearLayout>
  58. </FrameLayout>