activity_versionmessage.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#121212"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:id="@+id/linerbarversion"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:gravity="center_vertical"
  12. android:orientation="horizontal">
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="56dp"
  16. android:gravity="center_vertical">
  17. <LinearLayout
  18. android:layout_width="wrap_content"
  19. android:layout_height="match_parent"
  20. android:gravity="center_vertical"
  21. android:orientation="vertical">
  22. <ImageView
  23. android:id="@+id/button_version_save"
  24. android:layout_width="30dp"
  25. android:layout_height="30dp"
  26. android:layout_marginLeft="20dp"
  27. android:background="@mipmap/ic_return"
  28. android:scaleType="centerInside" />
  29. </LinearLayout>
  30. <TextView
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:gravity="center"
  34. android:text="版本信息"
  35. android:textColor="@color/white"
  36. android:textSize="25sp" />
  37. </LinearLayout>
  38. </LinearLayout>
  39. <View
  40. android:layout_width="match_parent"
  41. android:layout_height="0.3dp"
  42. android:background="#333333"></View>
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:layout_marginTop="30dp"
  47. android:gravity="center_horizontal"
  48. android:orientation="horizontal"
  49. android:paddingLeft="30dp"
  50. android:paddingRight="30dp">
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:background="@drawable/sr_liner_rectangle"
  55. android:orientation="vertical">
  56. <RelativeLayout
  57. android:layout_width="match_parent"
  58. android:layout_height="60dp"
  59. android:gravity="center_vertical"
  60. android:orientation="horizontal">
  61. <TextView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_marginLeft="20dp"
  65. android:text="SDK版本"
  66. android:textColor="@color/white"
  67. android:textSize="20sp" />
  68. <TextView
  69. android:id="@+id/sdkversion"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:layout_alignParentRight="true"
  73. android:layout_marginRight="15dp"
  74. android:text="V4.2.0"
  75. android:textColor="#999999"
  76. android:textSize="15sp"></TextView>
  77. </RelativeLayout>
  78. <View
  79. android:layout_width="match_parent"
  80. android:layout_height="0.3dp"
  81. android:background="#333333"></View>
  82. <RelativeLayout
  83. android:layout_width="match_parent"
  84. android:layout_height="60dp"
  85. android:gravity="center_vertical"
  86. android:orientation="horizontal">
  87. <TextView
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_marginLeft="20dp"
  91. android:text="系统版本"
  92. android:textColor="@color/white"
  93. android:textSize="20sp" />
  94. <TextView
  95. android:id="@+id/systemversion"
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_alignParentRight="true"
  99. android:layout_marginRight="15dp"
  100. android:text="V8.0"
  101. android:textColor="#999999"
  102. android:textSize="15sp"></TextView>
  103. </RelativeLayout>
  104. </LinearLayout>
  105. </LinearLayout>
  106. <LinearLayout
  107. android:layout_width="match_parent"
  108. android:layout_height="wrap_content"
  109. android:layout_marginTop="30dp"
  110. android:gravity="center_horizontal"
  111. android:orientation="horizontal"
  112. android:paddingLeft="30dp"
  113. android:paddingRight="30dp">
  114. <LinearLayout
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:background="@drawable/sr_liner_rectangle"
  118. android:orientation="vertical">
  119. <RelativeLayout
  120. android:layout_width="match_parent"
  121. android:layout_height="60dp"
  122. android:gravity="center_vertical"
  123. android:orientation="horizontal">
  124. <TextView
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_marginLeft="20dp"
  128. android:text="激活状态"
  129. android:textColor="@color/white"
  130. android:textSize="20sp" />
  131. <TextView
  132. android:id="@+id/activatestatus"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:layout_alignParentRight="true"
  136. android:layout_marginRight="15dp"
  137. android:text="已激活"
  138. android:textColor="#999999"
  139. android:textSize="15sp"></TextView>
  140. </RelativeLayout>
  141. <View
  142. android:layout_width="match_parent"
  143. android:layout_height="0.3dp"
  144. android:background="#333333"></View>
  145. <RelativeLayout
  146. android:layout_width="match_parent"
  147. android:layout_height="60dp"
  148. android:gravity="center_vertical"
  149. android:visibility="gone"
  150. android:orientation="horizontal">
  151. <TextView
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_marginLeft="20dp"
  155. android:text="激活方式"
  156. android:textColor="@color/white"
  157. android:textSize="20sp" />
  158. <TextView
  159. android:id="@+id/activatetype"
  160. android:layout_width="wrap_content"
  161. android:layout_height="wrap_content"
  162. android:layout_alignParentRight="true"
  163. android:layout_marginRight="15dp"
  164. android:text="离线激活"
  165. android:textColor="#999999"
  166. android:textSize="15sp"></TextView>
  167. </RelativeLayout>
  168. <View
  169. android:layout_width="match_parent"
  170. android:layout_height="0.3dp"
  171. android:background="#333333"></View>
  172. <RelativeLayout
  173. android:layout_width="match_parent"
  174. android:layout_height="60dp"
  175. android:gravity="center_vertical"
  176. android:orientation="horizontal">
  177. <TextView
  178. android:layout_width="wrap_content"
  179. android:layout_height="wrap_content"
  180. android:layout_marginLeft="20dp"
  181. android:text="授权有效期"
  182. android:textColor="@color/white"
  183. android:textSize="20sp" />
  184. <TextView
  185. android:id="@+id/activatedata"
  186. android:layout_width="wrap_content"
  187. android:layout_height="wrap_content"
  188. android:layout_alignParentRight="true"
  189. android:layout_marginRight="15dp"
  190. android:text="无法获取"
  191. android:textColor="#999999"
  192. android:textSize="15sp"></TextView>
  193. </RelativeLayout>
  194. </LinearLayout>
  195. </LinearLayout>
  196. <RelativeLayout
  197. android:layout_width="match_parent"
  198. android:layout_height="match_parent">
  199. <TextView
  200. android:id="@+id/logo_text"
  201. android:layout_width="match_parent"
  202. android:layout_height="wrap_content"
  203. android:layout_alignParentBottom="true"
  204. android:layout_marginBottom="23dp"
  205. android:alpha="0.4"
  206. android:gravity="center_horizontal"
  207. android:text="— 百度大脑技术支持 —"
  208. android:textColor="#666666"
  209. android:textSize="@dimen/bottom_font" />
  210. </RelativeLayout>
  211. </LinearLayout>