main.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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="28dp"
  74. android:text="谁说"
  75. android:textAlignment="center"
  76. android:textSize="11sp" />
  77. <com.netease.nim.uikit.common.ui.drop.DropFake
  78. android:layout_width="28dip"
  79. android:layout_height="28dip"
  80. android:layout_gravity="center_horizontal|center"
  81. android:textColor="@android:color/white"
  82. android:textSize="12sp"
  83. android:visibility="gone" />
  84. <Button
  85. android:layout_width="match_parent"
  86. android:layout_height="match_parent"
  87. android:background="@null" />
  88. </RelativeLayout>
  89. <RelativeLayout
  90. android:layout_width="match_parent"
  91. android:layout_height="match_parent"
  92. android:layout_marginBottom="2dp"
  93. android:layout_marginTop="4dp"
  94. android:layout_weight="1"
  95. android:background="@color/GreyWhite"
  96. android:gravity="center"
  97. android:orientation="vertical">
  98. <ImageView
  99. android:layout_width="match_parent"
  100. android:layout_height="26dp"
  101. app:srcCompat="@drawable/_01_unchecked" />
  102. <TextView
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_marginTop="28dp"
  106. android:text="朋友"
  107. android:textAlignment="center"
  108. android:textSize="11sp" />
  109. <LinearLayout
  110. android:layout_width="match_parent"
  111. android:layout_height="wrap_content"
  112. android:layout_marginLeft="28dip"
  113. android:gravity="center_horizontal"
  114. android:orientation="horizontal">
  115. <com.netease.nim.uikit.common.ui.drop.DropFake
  116. android:layout_width="28dip"
  117. android:layout_height="28dip"
  118. android:textColor="@android:color/white"
  119. android:textSize="12sp"
  120. android:visibility="gone" />
  121. </LinearLayout>
  122. <Button
  123. android:layout_width="match_parent"
  124. android:layout_height="match_parent"
  125. android:background="@null" />
  126. </RelativeLayout>
  127. <RelativeLayout
  128. android:layout_width="match_parent"
  129. android:layout_height="match_parent"
  130. android:layout_marginBottom="2dp"
  131. android:layout_marginTop="4dp"
  132. android:layout_weight="1"
  133. android:background="@color/GreyWhite"
  134. android:orientation="vertical">
  135. <ImageView
  136. android:layout_width="match_parent"
  137. android:layout_height="26dp"
  138. app:srcCompat="@drawable/_01_unchecked" />
  139. <TextView
  140. android:layout_width="match_parent"
  141. android:layout_height="wrap_content"
  142. android:layout_marginTop="28dp"
  143. android:text="快讯"
  144. android:textAlignment="center"
  145. android:textSize="11sp" />
  146. <com.netease.nim.uikit.common.ui.drop.DropFake
  147. android:layout_width="28dip"
  148. android:layout_height="28dip"
  149. android:textColor="@android:color/white"
  150. android:textSize="12sp"
  151. android:visibility="gone" />
  152. <Button
  153. android:layout_width="match_parent"
  154. android:layout_height="match_parent"
  155. android:background="@null" />
  156. </RelativeLayout>
  157. <RelativeLayout
  158. android:layout_width="match_parent"
  159. android:layout_height="match_parent"
  160. android:layout_marginBottom="2dp"
  161. android:layout_marginTop="4dp"
  162. android:layout_weight="1"
  163. android:background="@color/GreyWhite"
  164. android:orientation="vertical">
  165. <ImageView
  166. android:layout_width="match_parent"
  167. android:layout_height="26dp"
  168. app:srcCompat="@drawable/_01_unchecked" />
  169. <TextView
  170. android:layout_width="match_parent"
  171. android:layout_height="wrap_content"
  172. android:layout_marginTop="28dp"
  173. android:text="动态"
  174. android:textAlignment="center"
  175. android:textSize="11sp" />
  176. <com.netease.nim.uikit.common.ui.drop.DropFake
  177. android:layout_width="28dip"
  178. android:layout_height="28dip"
  179. android:textColor="@android:color/white"
  180. android:textSize="12sp"
  181. android:visibility="gone" />
  182. <Button
  183. android:layout_width="match_parent"
  184. android:layout_height="match_parent"
  185. android:background="@null" />
  186. </RelativeLayout>
  187. <RelativeLayout
  188. android:layout_width="match_parent"
  189. android:layout_height="match_parent"
  190. android:layout_marginBottom="2dp"
  191. android:layout_marginTop="4dp"
  192. android:layout_weight="1"
  193. android:background="@color/GreyWhite"
  194. android:orientation="vertical">
  195. <ImageView
  196. android:layout_width="match_parent"
  197. android:layout_height="26dp"
  198. app:srcCompat="@drawable/_01_unchecked" />
  199. <TextView
  200. android:layout_width="match_parent"
  201. android:layout_height="wrap_content"
  202. android:layout_marginTop="28dp"
  203. android:text="我的"
  204. android:textAlignment="center"
  205. android:textSize="11sp" />
  206. <com.netease.nim.uikit.common.ui.drop.DropFake
  207. android:layout_width="28dip"
  208. android:layout_height="28dip"
  209. android:textColor="@android:color/white"
  210. android:textSize="12sp"
  211. android:visibility="gone" />
  212. <Button
  213. android:layout_width="match_parent"
  214. android:layout_height="match_parent"
  215. android:background="@null" />
  216. </RelativeLayout>
  217. </LinearLayout>
  218. </LinearLayout>
  219. </RelativeLayout>
  220. <com.netease.nim.uikit.common.ui.drop.DropCover
  221. android:id="@+id/unread_cover"
  222. android:layout_width="match_parent"
  223. android:layout_height="match_parent"
  224. android:visibility="invisible" />
  225. </RelativeLayout>