umeng_socialize_oauth_dialog.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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="fill_parent"
  5. android:background="#D4E0E5">
  6. <RelativeLayout
  7. android:id="@+id/umeng_socialize_titlebar"
  8. android:layout_width="match_parent"
  9. android:layout_height="54dp"
  10. android:background="#0086DC">
  11. <TextView
  12. android:id="@+id/umeng_title"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_centerInParent="true"
  16. android:text=""
  17. android:textColor="#ffffff"
  18. android:textSize="18sp" />
  19. <RelativeLayout
  20. android:id="@+id/umeng_back"
  21. android:layout_width="60dp"
  22. android:layout_height="match_parent"
  23. android:onClick="onCancel"
  24. android:visibility="visible">
  25. <ImageButton
  26. android:layout_width="12dp"
  27. android:layout_height="20dp"
  28. android:layout_centerVertical="true"
  29. android:background="@drawable/umeng_socialize_back_icon"
  30. android:layout_marginLeft="15dp"
  31. android:scaleType="center" />
  32. </RelativeLayout>
  33. <TextView
  34. android:id="@+id/umeng_share_btn"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_alignParentRight="true"
  38. android:layout_centerInParent="true"
  39. android:layout_marginRight="10dp"
  40. android:background="@drawable/umeng_socialize_btn_bg"
  41. android:padding="4dp"
  42. android:text="分享"
  43. android:textColor="#ffffff" />
  44. </RelativeLayout>
  45. <RelativeLayout
  46. android:id="@+id/umeng_socialize_follow"
  47. android:layout_width="fill_parent"
  48. android:layout_height="40dp"
  49. android:layout_alignParentBottom="true"
  50. android:background="#AAAAAA"
  51. android:visibility="visible">
  52. <CheckBox
  53. android:id="@+id/umeng_socialize_follow_check"
  54. android:layout_width="20dp"
  55. android:layout_height="20dp"
  56. android:layout_centerVertical="true"
  57. android:layout_marginLeft="20dp"
  58. android:checked="true"
  59. android:visibility="gone" />
  60. <TextView
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63. android:layout_centerVertical="true"
  64. android:layout_marginLeft="15dp"
  65. android:layout_toRightOf="@id/umeng_socialize_follow_check"
  66. android:text="关注官方微博"
  67. android:textColor="#f8f8f8"
  68. android:textSize="16sp"
  69. android:visibility="gone" />
  70. </RelativeLayout>
  71. <!--<LinearLayout-->
  72. <!--android:id="@+id/webView_container"-->
  73. <!--android:layout_width="match_parent"-->
  74. <!--android:layout_height="match_parent"-->
  75. <!--android:layout_above="@id/umeng_socialize_follow"-->
  76. <!--android:layout_below="@id/umeng_socialize_titlebar"-->
  77. <!--android:orientation="horizontal"-->
  78. <!--android:visibility="visible" />-->
  79. <WebView
  80. android:id="@+id/webView"
  81. android:layout_width="fill_parent"
  82. android:layout_height="fill_parent"
  83. android:background="#F2F5F6"
  84. android:layout_above="@id/umeng_socialize_follow"
  85. android:layout_below="@id/umeng_socialize_titlebar"
  86. android:visibility="visible" />
  87. <RelativeLayout
  88. android:id="@+id/progress_bar_parent"
  89. android:layout_width="fill_parent"
  90. android:layout_height="fill_parent"
  91. android:layout_below="@id/umeng_socialize_titlebar"
  92. android:background="#F2F5F6" >
  93. <LinearLayout
  94. android:layout_width="80dp"
  95. android:layout_height="80dp"
  96. android:layout_centerInParent="true"
  97. android:orientation="horizontal">
  98. <ProgressBar
  99. android:layout_width="fill_parent"
  100. android:layout_height="fill_parent"
  101. android:layout_margin="10dp" />
  102. </LinearLayout>
  103. </RelativeLayout>
  104. </RelativeLayout>