weibo.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:background="#F0FFFF"
  6. android:orientation="vertical" >
  7. <FrameLayout
  8. android:id="@+id/weibo_ff"
  9. android:layout_width="fill_parent"
  10. android:layout_height="fill_parent"
  11. android:background="#F0FFFF"
  12. android:orientation="vertical"
  13. android:visibility="gone" >
  14. <ScrollView
  15. android:layout_width="fill_parent"
  16. android:layout_height="fill_parent" >
  17. <LinearLayout
  18. android:layout_width="fill_parent"
  19. android:layout_height="wrap_content"
  20. android:orientation="vertical" >
  21. <LinearLayout
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:padding="10dip" >
  25. <com.ouling.weibo.util.AsyncImageView
  26. android:id="@+id/weibo_avatar"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content" />
  29. <TextView
  30. android:id="@+id/weibo_screenName"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_gravity="center_vertical"
  34. android:paddingLeft="10dip"
  35. android:textColor="#000000" />
  36. </LinearLayout>
  37. <com.ouling.weibo.util.HighLightTextView
  38. android:id="@+id/weibo_text"
  39. android:layout_width="fill_parent"
  40. android:layout_height="wrap_content"
  41. android:autoLink="web|phone|email"
  42. android:padding="10dip"
  43. android:textColor="#000000" />
  44. <com.ouling.weibo.util.AsyncImageView
  45. android:id="@+id/weibo_pic"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_gravity="center_horizontal"
  49. android:paddingBottom="20dip"
  50. android:paddingTop="10dip"
  51. android:visibility="gone" />
  52. <LinearLayout
  53. android:layout_width="fill_parent"
  54. android:layout_height="wrap_content"
  55. android:orientation="horizontal" >
  56. <Button
  57. android:id="@+id/weibo_btn_retweet"
  58. android:layout_width="fill_parent"
  59. android:layout_height="fill_parent"
  60. android:layout_weight="1"
  61. android:text="转发" />
  62. <Button
  63. android:id="@+id/weibo_btn_comment"
  64. android:layout_width="fill_parent"
  65. android:layout_height="fill_parent"
  66. android:layout_weight="1"
  67. android:text="评论" />
  68. </LinearLayout>
  69. <!--
  70. <SlidingDrawer android:id="@+id/slidingdrawer"
  71. android:layout_width="fill_parent" android:layout_height="fill_parent"
  72. android:content="@+id/slide_content" android:handle="@+id/slide_handle">
  73. <ImageButton android:id="@id/slide_handle"
  74. android:layout_width="50dip" android:layout_height="44dip"
  75. android:src="@drawable/goicon" />
  76. -->
  77. <!--
  78. <LinearLayout
  79. android:layout_width="fill_parent"
  80. android:layout_height="wrap_content"
  81. android:background="#ffffff"
  82. android:orientation="vertical" >
  83. -->
  84. <TextView
  85. android:id="@+id/weibo_no_comment"
  86. android:layout_width="fill_parent"
  87. android:layout_height="wrap_content"
  88. android:layout_weight="1"
  89. android:orientation="vertical"
  90. android:padding="10dip"
  91. android:text="暂无评论"
  92. android:textColor="#000000" />
  93. <ListView
  94. android:id="@+id/comment_listView"
  95. android:layout_width="fill_parent"
  96. android:layout_height="wrap_content"
  97. android:layout_weight="1" >
  98. </ListView>
  99. </LinearLayout>
  100. <!-- </LinearLayout> -->
  101. </ScrollView>
  102. <!-- </SlidingDrawer> -->
  103. </FrameLayout>
  104. <LinearLayout
  105. android:id="@+id/weibo_waitingView"
  106. android:layout_width="fill_parent"
  107. android:layout_height="fill_parent"
  108. android:gravity="center"
  109. android:orientation="horizontal" >
  110. <ProgressBar
  111. style="?android:attr/progressBarStyleSmallTitle"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:indeterminateDrawable="@drawable/progresscolor" />
  115. <TextView
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:paddingLeft="10dip"
  119. android:text="加载中..."
  120. android:textColor="#000000" />
  121. </LinearLayout>
  122. </FrameLayout>