main.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@drawable/skin_global_bg">
  7. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/app_bar_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:theme="@style/AppTheme.AppBarOverlay"
  12. app:elevation="0dp">
  13. <com.sheishuo.app.common.views.BaseToolbar
  14. android:id="@+id/toolbar"
  15. android:layout_width="match_parent"
  16. android:layout_height="?attr/actionBarSize"
  17. android:background="?attr/colorPrimary"
  18. android:visibility="visible"
  19. style="@style/fullToolbarStyle"/>
  20. </android.support.design.widget.AppBarLayout>
  21. <!--<com.sheishuo.app.common.ui.viewpager.PagerSlidingTabStrip-->
  22. <!--android:id="@+id/tabs"-->
  23. <!--android:layout_width="match_parent"-->
  24. <!--android:layout_height="@dimen/pager_sliding_tab_strip_height"-->
  25. <!--android:layout_below="@id/app_bar_layout"-->
  26. <!--android:background="@drawable/skin_global_bg"-->
  27. <!--android:visibility="gone"/>-->
  28. <RelativeLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:orientation="vertical"
  32. android:layout_below="@id/app_bar_layout">
  33. <android.support.v4.view.ViewPager
  34. android:id="@+id/main_tab_pager"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:layout_marginBottom="@dimen/action_bar_height">
  38. </android.support.v4.view.ViewPager>
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:gravity="bottom"
  43. android:orientation="vertical">
  44. <RelativeLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="1dp"
  47. android:layout_gravity="bottom"
  48. android:background="@color/grey_light_light">
  49. </RelativeLayout>
  50. <LinearLayout
  51. android:id="@+id/bottom_tab_container"
  52. android:layout_width="match_parent"
  53. android:layout_height="@dimen/action_bar_height"
  54. android:layout_gravity="bottom"
  55. android:background="@color/GreyWhite"
  56. android:orientation="horizontal">
  57. <RelativeLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:layout_marginBottom="2dp"
  61. android:layout_marginTop="4dp"
  62. android:layout_weight="1"
  63. android:background="@color/GreyWhite"
  64. android:gravity="center"
  65. android:orientation="vertical">
  66. <ImageView
  67. android:layout_width="match_parent"
  68. android:layout_height="26dp"
  69. app:srcCompat="@drawable/_01_unchecked" />
  70. <TextView
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_marginTop="30dp"
  74. android:layout_weight="2"
  75. android:text="谁说"
  76. android:textAlignment="center"
  77. android:textSize="11sp" />
  78. <com.netease.nim.uikit.common.ui.drop.DropFake
  79. android:layout_width="28dip"
  80. android:layout_height="28dip"
  81. android:layout_gravity="center_horizontal|center"
  82. android:textColor="@android:color/white"
  83. android:textSize="12sp"
  84. android:visibility="gone" />
  85. <Button
  86. android:layout_width="match_parent"
  87. android:layout_height="match_parent"
  88. android:background="@null" />
  89. </RelativeLayout>
  90. <RelativeLayout
  91. android:layout_width="match_parent"
  92. android:layout_height="match_parent"
  93. android:layout_marginBottom="2dp"
  94. android:layout_marginTop="4dp"
  95. android:layout_weight="1"
  96. android:background="@color/GreyWhite"
  97. android:gravity="center"
  98. android:orientation="vertical">
  99. <ImageView
  100. android:layout_width="match_parent"
  101. android:layout_height="26dp"
  102. app:srcCompat="@drawable/_01_unchecked" />
  103. <TextView
  104. android:layout_width="match_parent"
  105. android:layout_height="wrap_content"
  106. android:layout_marginTop="30dp"
  107. android:layout_weight="2"
  108. android:text="朋友"
  109. android:textAlignment="center"
  110. android:textSize="11sp" />
  111. <LinearLayout
  112. android:layout_width="match_parent"
  113. android:layout_height="wrap_content"
  114. android:layout_marginLeft="28dip"
  115. android:gravity="center_horizontal"
  116. android:orientation="horizontal">
  117. <com.netease.nim.uikit.common.ui.drop.DropFake
  118. android:layout_width="28dip"
  119. android:layout_height="28dip"
  120. android:textColor="@android:color/white"
  121. android:textSize="12sp"
  122. android:visibility="gone" />
  123. </LinearLayout>
  124. <Button
  125. android:layout_width="match_parent"
  126. android:layout_height="match_parent"
  127. android:background="@null" />
  128. </RelativeLayout>
  129. <RelativeLayout
  130. android:layout_width="match_parent"
  131. android:layout_height="match_parent"
  132. android:layout_marginBottom="2dp"
  133. android:layout_marginTop="4dp"
  134. android:layout_weight="1"
  135. android:background="@color/GreyWhite"
  136. android:orientation="vertical">
  137. <ImageView
  138. android:layout_width="match_parent"
  139. android:layout_height="26dp"
  140. app:srcCompat="@drawable/_01_unchecked" />
  141. <TextView
  142. android:layout_width="match_parent"
  143. android:layout_height="wrap_content"
  144. android:layout_marginTop="30dp"
  145. android:layout_weight="2"
  146. android:text="快讯"
  147. android:textAlignment="center"
  148. android:textSize="11sp" />
  149. <com.netease.nim.uikit.common.ui.drop.DropFake
  150. android:layout_width="28dip"
  151. android:layout_height="28dip"
  152. android:textColor="@android:color/white"
  153. android:textSize="12sp"
  154. android:visibility="gone" />
  155. <Button
  156. android:layout_width="match_parent"
  157. android:layout_height="match_parent"
  158. android:background="@null" />
  159. </RelativeLayout>
  160. <RelativeLayout
  161. android:layout_width="match_parent"
  162. android:layout_height="match_parent"
  163. android:layout_marginBottom="2dp"
  164. android:layout_marginTop="4dp"
  165. android:layout_weight="1"
  166. android:background="@color/GreyWhite"
  167. android:orientation="vertical">
  168. <ImageView
  169. android:layout_width="match_parent"
  170. android:layout_height="26dp"
  171. app:srcCompat="@drawable/_01_unchecked" />
  172. <TextView
  173. android:layout_width="match_parent"
  174. android:layout_height="wrap_content"
  175. android:layout_marginTop="30dp"
  176. android:layout_weight="2"
  177. android:text="动态"
  178. android:textAlignment="center"
  179. android:textSize="11sp" />
  180. <com.netease.nim.uikit.common.ui.drop.DropFake
  181. android:layout_width="28dip"
  182. android:layout_height="28dip"
  183. android:textColor="@android:color/white"
  184. android:textSize="12sp"
  185. android:visibility="gone" />
  186. <Button
  187. android:layout_width="match_parent"
  188. android:layout_height="match_parent"
  189. android:background="@null" />
  190. </RelativeLayout>
  191. <RelativeLayout
  192. android:layout_width="match_parent"
  193. android:layout_height="match_parent"
  194. android:layout_marginBottom="2dp"
  195. android:layout_marginTop="4dp"
  196. android:layout_weight="1"
  197. android:background="@color/GreyWhite"
  198. android:orientation="vertical">
  199. <ImageView
  200. android:layout_width="match_parent"
  201. android:layout_height="26dp"
  202. app:srcCompat="@drawable/_01_unchecked" />
  203. <TextView
  204. android:layout_width="match_parent"
  205. android:layout_height="wrap_content"
  206. android:layout_marginTop="30dp"
  207. android:layout_weight="2"
  208. android:text="我的"
  209. android:textAlignment="center"
  210. android:textSize="11sp" />
  211. <com.netease.nim.uikit.common.ui.drop.DropFake
  212. android:layout_width="28dip"
  213. android:layout_height="28dip"
  214. android:textColor="@android:color/white"
  215. android:textSize="12sp"
  216. android:visibility="gone" />
  217. <Button
  218. android:layout_width="match_parent"
  219. android:layout_height="match_parent"
  220. android:background="@null" />
  221. </RelativeLayout>
  222. </LinearLayout>
  223. </LinearLayout>
  224. </RelativeLayout>
  225. <com.netease.nim.uikit.common.ui.drop.DropCover
  226. android:id="@+id/unread_cover"
  227. android:layout_width="match_parent"
  228. android:layout_height="match_parent"
  229. android:visibility="invisible" />
  230. </RelativeLayout>