tysdkn_fragment_mine.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. >
  6. <ScrollView
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:scrollbars="none"
  10. >
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent">
  14. <RelativeLayout
  15. android:id="@+id/layout_me_head"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:background="@drawable/me_head_background">
  19. <com.sdk.tysdk.ui.view.ImageViewPlus
  20. android:id="@+id/tysdkn_user_img"
  21. android:layout_width="47dp"
  22. android:layout_height="47dp"
  23. android:layout_marginLeft="18dp"
  24. android:layout_marginTop="15dp"
  25. android:background="@drawable/tysdkn_center_usercenter_fg" />
  26. <ImageView
  27. android:id="@+id/tysdkn_img_new_vip"
  28. android:layout_width="17dp"
  29. android:layout_height="16dp"
  30. android:layout_alignRight="@id/tysdkn_user_img"
  31. android:layout_alignBottom="@id/tysdkn_user_img"
  32. android:background="@drawable/new_vip_icon" />
  33. <TextView
  34. android:id="@+id/tysdkn_tv_mine_nick_name"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_marginLeft="10dp"
  38. android:layout_marginTop="20dp"
  39. android:layout_toRightOf="@id/tysdkn_user_img"
  40. android:textColor="#ffffffff"
  41. android:textSize="15sp"
  42. android:maxLines="1"
  43. android:singleLine="true"
  44. android:ellipsize="end"
  45. />
  46. <TextView
  47. android:id="@+id/tysdkn_tv_mine_user_name"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_alignBottom="@id/tysdkn_user_img"
  51. android:layout_marginLeft="10dp"
  52. android:layout_toRightOf="@id/tysdkn_user_img"
  53. android:textColor="#ffb3daff"
  54. android:layout_marginBottom="5dp"
  55. android:textSize="12sp" />
  56. <RelativeLayout
  57. android:id="@+id/tysdkn_layout_member_lable"
  58. android:layout_width="40dp"
  59. android:layout_height="16dp"
  60. android:layout_toRightOf="@+id/tysdkn_tv_mine_nick_name"
  61. android:layout_marginTop="21dp"
  62. android:layout_marginLeft="7dp"
  63. android:layout_marginRight="15dp"
  64. android:background="@drawable/memberlevel1">
  65. </RelativeLayout>
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_below="@id/tysdkn_user_img"
  70. android:layout_marginTop="10dp"
  71. android:orientation="horizontal">
  72. <LinearLayout
  73. android:layout_width="0dp"
  74. android:layout_height="wrap_content"
  75. android:layout_weight="1"
  76. android:gravity="center"
  77. android:orientation="vertical">
  78. <TextView
  79. android:id="@+id/tysdkn_tv_mine_my_yubi"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:textColor="#FFFFFF"
  83. android:textSize="16sp" />
  84. <TextView
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:text="宇币"
  88. android:textColor="#B3DAFF"
  89. android:textSize="10sp" />
  90. </LinearLayout>
  91. <View
  92. android:layout_width="0.5dp"
  93. android:layout_height="20dp"
  94. android:layout_gravity="center"
  95. android:background="#70ffffff" />
  96. <LinearLayout
  97. android:layout_width="0dp"
  98. android:layout_height="wrap_content"
  99. android:layout_weight="1"
  100. android:gravity="center"
  101. android:orientation="vertical">
  102. <TextView
  103. android:id="@+id/tysdkn_tv_my_integral"
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:textColor="#FFFFFF"
  107. android:textSize="16sp" />
  108. <TextView
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:text="积分"
  112. android:textColor="#B3DAFF"
  113. android:textSize="10sp" />
  114. </LinearLayout>
  115. <View
  116. android:layout_width="0.5dp"
  117. android:layout_height="20dp"
  118. android:layout_gravity="center"
  119. android:background="#70ffffff" />
  120. <LinearLayout
  121. android:layout_width="0dp"
  122. android:layout_height="wrap_content"
  123. android:layout_weight="1"
  124. android:gravity="center"
  125. android:orientation="vertical">
  126. <TextView
  127. android:id="@+id/tysdkn_tv_mine_my_balance"
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content"
  130. android:textColor="#FFFFFF"
  131. android:textSize="16sp" />
  132. <TextView
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:text="余额"
  136. android:textColor="#B3DAFF"
  137. android:textSize="10sp" />
  138. </LinearLayout>
  139. </LinearLayout>
  140. </RelativeLayout>
  141. <LinearLayout
  142. android:layout_width="match_parent"
  143. android:layout_height="wrap_content"
  144. android:layout_below="@id/layout_me_head"
  145. android:orientation="vertical"
  146. >
  147. <RelativeLayout
  148. android:id="@+id/tysdkn_rl_my_xiaohao"
  149. android:layout_width="match_parent"
  150. android:layout_height="42dp"
  151. android:gravity="center_vertical"
  152. android:paddingRight="12dp"
  153. android:paddingTop="12dp"
  154. android:paddingBottom="12dp"
  155. android:background="@color/me_item_transparent"
  156. >
  157. <ImageView
  158. android:id="@+id/img_game_icon"
  159. android:layout_width="18dp"
  160. android:layout_height="18dp"
  161. android:layout_marginLeft="18dp"
  162. android:layout_marginRight="20dp"
  163. android:background="@drawable/me_game_icon" />
  164. <TextView
  165. android:layout_width="wrap_content"
  166. android:layout_height="wrap_content"
  167. android:layout_toRightOf="@id/img_game_icon"
  168. android:text="我的小号"
  169. android:textColor="#ff333333"
  170. android:textSize="13sp" />
  171. <ImageView
  172. android:layout_width="8dp"
  173. android:layout_height="8dp"
  174. android:layout_alignParentRight="true"
  175. android:layout_centerVertical="true"
  176. android:src="@drawable/tysdkn_gray_right_back" />
  177. </RelativeLayout>
  178. <RelativeLayout
  179. android:id="@+id/tysdkn_rl_my_consume_log"
  180. android:layout_width="match_parent"
  181. android:layout_height="42dp"
  182. android:layout_marginTop="5dp"
  183. android:layout_below="@+id/tysdkn_rl_my_xiaohao"
  184. android:gravity="center_vertical"
  185. android:paddingRight="12dp"
  186. android:paddingTop="12dp"
  187. android:paddingBottom="12dp"
  188. android:background="@color/me_item_transparent"
  189. >
  190. <ImageView
  191. android:id="@+id/img_consume_log_icon"
  192. android:layout_width="18dp"
  193. android:layout_height="18dp"
  194. android:layout_marginRight="20dp"
  195. android:layout_marginLeft="18dp"
  196. android:background="@drawable/me_consume_log_icon" />
  197. <TextView
  198. android:layout_width="wrap_content"
  199. android:layout_height="wrap_content"
  200. android:layout_toRightOf="@id/img_consume_log_icon"
  201. android:text="消费记录"
  202. android:textColor="#ff333333"
  203. android:textSize="13sp" />
  204. <ImageView
  205. android:layout_width="8dp"
  206. android:layout_height="8dp"
  207. android:layout_alignParentRight="true"
  208. android:layout_centerVertical="true"
  209. android:src="@drawable/tysdkn_gray_right_back" />
  210. </RelativeLayout>
  211. <View
  212. android:layout_width="match_parent"
  213. android:layout_height="0.1dp"
  214. android:background="#ECECEC"
  215. android:layout_marginLeft="56dp"
  216. />
  217. <RelativeLayout
  218. android:id="@+id/tysdkn_rl_bind_phone"
  219. android:layout_width="match_parent"
  220. android:layout_height="42dp"
  221. android:layout_below="@id/tysdkn_rl_my_consume_log"
  222. android:gravity="center_vertical"
  223. android:paddingRight="12dp"
  224. android:paddingTop="12dp"
  225. android:paddingBottom="12dp"
  226. android:background="@color/me_item_transparent"
  227. >
  228. <ImageView
  229. android:id="@+id/img_phone_bundle"
  230. android:layout_width="18dp"
  231. android:layout_height="18dp"
  232. android:layout_marginRight="20dp"
  233. android:layout_marginLeft="18dp"
  234. android:background="@drawable/me_phone_bundle_icon" />
  235. <TextView
  236. android:layout_width="wrap_content"
  237. android:layout_height="wrap_content"
  238. android:layout_toRightOf="@id/img_phone_bundle"
  239. android:text="绑定手机"
  240. android:textColor="#ff333333"
  241. android:textSize="13sp" />
  242. <TextView
  243. android:id="@+id/tysdkn_tv_bind_phone_hint"
  244. android:layout_width="wrap_content"
  245. android:layout_height="wrap_content"
  246. android:text="未绑定/换绑"
  247. android:textColor="#ff999999"
  248. android:textSize="11sp"
  249. android:layout_toLeftOf="@+id/img_bind_phone_right_back"
  250. android:layout_marginRight="9dp"
  251. />
  252. <ImageView
  253. android:id="@+id/img_bind_phone_right_back"
  254. android:layout_width="8dp"
  255. android:layout_height="8dp"
  256. android:layout_alignParentRight="true"
  257. android:layout_centerVertical="true"
  258. android:src="@drawable/tysdkn_gray_right_back" />
  259. </RelativeLayout>
  260. <View
  261. android:layout_width="match_parent"
  262. android:layout_height="0.1dp"
  263. android:background="#ECECEC"
  264. android:layout_marginLeft="56dp"
  265. />
  266. <RelativeLayout
  267. android:id="@+id/tysdkn_rl_real_name"
  268. android:layout_width="match_parent"
  269. android:layout_height="42dp"
  270. android:layout_below="@id/tysdkn_rl_bind_phone"
  271. android:gravity="center_vertical"
  272. android:paddingRight="12dp"
  273. android:paddingTop="12dp"
  274. android:paddingBottom="12dp"
  275. android:background="@color/me_item_transparent"
  276. >
  277. <ImageView
  278. android:id="@+id/img_real_name"
  279. android:layout_width="18dp"
  280. android:layout_height="18dp"
  281. android:layout_marginRight="20dp"
  282. android:layout_marginLeft="18dp"
  283. android:background="@drawable/me_real_name_icon" />
  284. <TextView
  285. android:layout_width="wrap_content"
  286. android:layout_height="wrap_content"
  287. android:layout_toRightOf="@id/img_real_name"
  288. android:text="实名认证"
  289. android:textColor="#ff333333"
  290. android:textSize="13sp" />
  291. <TextView
  292. android:id="@+id/tysdkn_tv_real_name_hint"
  293. android:layout_width="wrap_content"
  294. android:layout_height="wrap_content"
  295. android:text=" 已认证/未认证"
  296. android:textColor="#ff999999"
  297. android:textSize="11sp"
  298. android:layout_toLeftOf="@+id/img_real_name_right_back"
  299. android:layout_marginRight="9dp"
  300. />
  301. <ImageView
  302. android:id="@+id/img_real_name_right_back"
  303. android:layout_width="8dp"
  304. android:layout_height="8dp"
  305. android:layout_alignParentRight="true"
  306. android:layout_centerVertical="true"
  307. android:src="@drawable/tysdkn_gray_right_back" />
  308. </RelativeLayout>
  309. <View
  310. android:layout_width="match_parent"
  311. android:layout_height="0.1dp"
  312. android:background="#ECECEC"
  313. android:layout_marginLeft="56dp"
  314. />
  315. <RelativeLayout
  316. android:id="@+id/tysdkn_rl_alter_pay_password"
  317. android:layout_width="match_parent"
  318. android:layout_height="42dp"
  319. android:layout_below="@id/tysdkn_rl_real_name"
  320. android:gravity="center_vertical"
  321. android:paddingRight="12dp"
  322. android:paddingTop="12dp"
  323. android:paddingBottom="12dp"
  324. android:background="@color/me_item_transparent"
  325. >
  326. <ImageView
  327. android:id="@+id/img_alter_pay_password"
  328. android:layout_width="18dp"
  329. android:layout_height="18dp"
  330. android:layout_marginRight="20dp"
  331. android:layout_marginLeft="18dp"
  332. android:background="@drawable/me_alter_pay_password_icon" />
  333. <TextView
  334. android:layout_width="wrap_content"
  335. android:layout_height="wrap_content"
  336. android:layout_toRightOf="@id/img_alter_pay_password"
  337. android:text="修改支付密码"
  338. android:textColor="#ff333333"
  339. android:textSize="13sp" />
  340. <ImageView
  341. android:layout_width="8dp"
  342. android:layout_height="8dp"
  343. android:layout_alignParentRight="true"
  344. android:layout_centerVertical="true"
  345. android:src="@drawable/tysdkn_gray_right_back" />
  346. </RelativeLayout>
  347. <View
  348. android:layout_width="match_parent"
  349. android:layout_height="0.1dp"
  350. android:background="#ECECEC"
  351. android:layout_marginLeft="56dp"
  352. />
  353. <RelativeLayout
  354. android:id="@+id/tysdkn_rl_alert_login_password"
  355. android:layout_width="match_parent"
  356. android:layout_height="42dp"
  357. android:layout_below="@id/tysdkn_rl_alter_pay_password"
  358. android:gravity="center_vertical"
  359. android:paddingRight="12dp"
  360. android:paddingTop="12dp"
  361. android:paddingBottom="12dp"
  362. android:background="@color/me_item_transparent"
  363. >
  364. <ImageView
  365. android:id="@+id/img_alert_login_password"
  366. android:layout_width="18dp"
  367. android:layout_height="18dp"
  368. android:layout_marginRight="20dp"
  369. android:layout_marginLeft="18dp"
  370. android:background="@drawable/me_alter_login_password_icon" />
  371. <TextView
  372. android:layout_width="wrap_content"
  373. android:layout_height="wrap_content"
  374. android:layout_toRightOf="@id/img_alert_login_password"
  375. android:text="修改登录密码"
  376. android:textColor="#ff333333"
  377. android:textSize="13sp" />
  378. <ImageView
  379. android:layout_width="8dp"
  380. android:layout_height="8dp"
  381. android:layout_alignParentRight="true"
  382. android:layout_centerVertical="true"
  383. android:src="@drawable/tysdkn_gray_right_back" />
  384. </RelativeLayout>
  385. <RelativeLayout
  386. android:id="@+id/tysdkn_rl_self_motion_login"
  387. android:layout_width="match_parent"
  388. android:layout_height="42dp"
  389. android:layout_below="@id/tysdkn_rl_alert_login_password"
  390. android:gravity="center_vertical"
  391. android:layout_marginTop="5dp"
  392. android:paddingRight="12dp"
  393. android:paddingTop="12dp"
  394. android:paddingBottom="12dp"
  395. android:background="@color/me_item_transparent"
  396. >
  397. <TextView
  398. android:layout_width="wrap_content"
  399. android:layout_height="wrap_content"
  400. android:layout_centerVertical="true"
  401. android:text="自动登录游戏"
  402. android:textColor="#ff333333"
  403. android:layout_marginLeft="18dp"
  404. android:textSize="13sp" />
  405. <CheckBox
  406. android:id="@+id/tysdkn_cb_self_auto_login"
  407. android:layout_width="33.4dp"
  408. android:layout_height="20.8dp"
  409. android:layout_alignParentRight="true"
  410. android:layout_centerVertical="true"
  411. android:background="@drawable/tysdkn_switch_selector"
  412. android:button="@null" />
  413. </RelativeLayout>
  414. <View
  415. android:layout_width="match_parent"
  416. android:layout_height="0.1dp"
  417. android:background="#ECECEC"
  418. android:layout_marginLeft="56dp"
  419. />
  420. <RelativeLayout
  421. android:id="@+id/tysdkn_rl_switch_account"
  422. android:layout_width="match_parent"
  423. android:layout_height="42dp"
  424. android:layout_below="@id/tysdkn_rl_self_motion_login"
  425. android:gravity="center_vertical"
  426. android:paddingRight="12dp"
  427. android:paddingTop="12dp"
  428. android:paddingBottom="12dp"
  429. android:background="@color/me_item_transparent"
  430. >
  431. <TextView
  432. android:id="@+id/tysdkn_tv_switch_user"
  433. android:layout_width="wrap_content"
  434. android:layout_height="wrap_content"
  435. android:text="切换账号"
  436. android:textColor="#ff333333"
  437. android:layout_marginLeft="18dp"
  438. android:textSize="13sp" />
  439. <ImageView
  440. android:layout_width="8dp"
  441. android:layout_height="8dp"
  442. android:layout_alignParentRight="true"
  443. android:layout_centerVertical="true"
  444. android:src="@drawable/tysdkn_gray_right_back" />
  445. </RelativeLayout>
  446. <View
  447. android:layout_width="match_parent"
  448. android:layout_height="0.1dp"
  449. android:background="#ECECEC"
  450. android:layout_marginLeft="56dp"
  451. />
  452. <RelativeLayout
  453. android:layout_width="match_parent"
  454. android:layout_height="42dp"
  455. android:layout_below="@id/tysdkn_rl_switch_account"
  456. android:gravity="center_vertical"
  457. android:paddingRight="12dp"
  458. android:paddingTop="12dp"
  459. android:paddingBottom="12dp"
  460. android:background="@color/me_item_transparent"
  461. >
  462. <TextView
  463. android:layout_width="wrap_content"
  464. android:layout_height="wrap_content"
  465. android:text="SDK版本号"
  466. android:textColor="#ff333333"
  467. android:layout_marginLeft="18dp"
  468. android:textSize="13sp" />
  469. <TextView
  470. android:id="@+id/tysdkn_tv_sdk_version"
  471. android:layout_width="wrap_content"
  472. android:layout_height="wrap_content"
  473. android:layout_alignParentRight="true"
  474. android:layout_centerVertical="true"
  475. android:text="V4.0.1"
  476. android:textColor="#FFA1A1A1"
  477. android:textSize="13sp" />
  478. </RelativeLayout>
  479. </LinearLayout>
  480. </RelativeLayout>
  481. </ScrollView>
  482. </RelativeLayout>