activity_main_setting.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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:orientation="vertical"
  6. android:id="@+id/parentLin"
  7. android:background="@color/qingcolor"
  8. >
  9. <include layout="@layout/fragment_title" />
  10. <RelativeLayout
  11. android:id="@+id/autologin"
  12. android:layout_width="fill_parent"
  13. android:layout_height="60dp"
  14. android:layout_marginLeft="10dp"
  15. android:layout_marginTop="20dp"
  16. android:layout_marginRight="10dp"
  17. android:background="@drawable/login_btn_selector"
  18. >
  19. <CheckBox
  20. android:id="@+id/cb"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:checked="false"
  24. android:layout_centerVertical="true"
  25. />
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_centerInParent="true"
  30. android:text="自动登录"
  31. android:textSize="@dimen/textsize_22"
  32. android:id="@+id/tv"
  33. android:textColor="@color/white"/>
  34. <ImageView
  35. android:layout_alignParentRight="true"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:src="@drawable/iv_right" />
  39. </RelativeLayout>
  40. <RelativeLayout
  41. android:id="@+id/modifyPasswordRel"
  42. android:layout_width="fill_parent"
  43. android:layout_height="60dp"
  44. android:layout_marginLeft="10dp"
  45. android:layout_marginTop="10dp"
  46. android:layout_marginRight="10dp"
  47. android:background="@drawable/login_btn_selector"
  48. >
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_centerInParent="true"
  53. android:text="修改密码"
  54. android:textSize="@dimen/textsize_22"
  55. android:id="@+id/tvModifyPassword"
  56. android:textColor="@color/white"/>
  57. <ImageView
  58. android:layout_alignParentRight="true"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:src="@drawable/iv_right" />
  62. </RelativeLayout>
  63. <RelativeLayout
  64. android:id="@+id/changeuser"
  65. android:layout_width="fill_parent"
  66. android:layout_height="60dp"
  67. android:layout_marginLeft="10dp"
  68. android:layout_marginTop="10dp"
  69. android:layout_marginRight="10dp"
  70. android:background="@drawable/login_btn_selector"
  71. >
  72. <TextView
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_centerInParent="true"
  76. android:text="切换用户"
  77. android:textSize="@dimen/textsize_22"
  78. android:id="@+id/tv1"
  79. android:textColor="@color/white"/>
  80. <ImageView
  81. android:layout_alignParentRight="true"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:src="@drawable/iv_right" />
  85. </RelativeLayout>
  86. <RelativeLayout
  87. android:id="@+id/about"
  88. android:layout_width="fill_parent"
  89. android:layout_height="60dp"
  90. android:layout_marginLeft="10dp"
  91. android:layout_marginTop="10dp"
  92. android:layout_marginRight="10dp"
  93. android:background="@drawable/login_btn_selector"
  94. >
  95. <TextView
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_centerInParent="true"
  99. android:text="关于"
  100. android:textSize="@dimen/textsize_22"
  101. android:textColor="@color/white"/>
  102. <ImageView
  103. android:layout_alignParentRight="true"
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:src="@drawable/iv_right" />
  107. </RelativeLayout>
  108. <RelativeLayout
  109. android:id="@+id/clearLogRel"
  110. android:layout_width="fill_parent"
  111. android:layout_height="60dp"
  112. android:layout_marginLeft="10dp"
  113. android:layout_marginTop="10dp"
  114. android:layout_marginRight="10dp"
  115. android:background="@drawable/login_btn_selector">
  116. <TextView
  117. android:layout_width="wrap_content"
  118. android:layout_height="wrap_content"
  119. android:layout_centerInParent="true"
  120. android:text="清除日志"
  121. android:textSize="@dimen/textsize_22"
  122. android:id="@+id/tv5"
  123. android:textColor="@color/white"
  124. />
  125. <ImageView
  126. android:layout_alignParentRight="true"
  127. android:layout_width="wrap_content"
  128. android:layout_height="wrap_content"
  129. android:src="@drawable/iv_right" />
  130. </RelativeLayout>
  131. <RelativeLayout
  132. android:id="@+id/exit"
  133. android:layout_width="fill_parent"
  134. android:layout_height="60dp"
  135. android:layout_marginLeft="10dp"
  136. android:layout_marginTop="10dp"
  137. android:layout_marginRight="10dp"
  138. android:background="@drawable/login_btn_selector">
  139. <TextView
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:layout_centerInParent="true"
  143. android:text="退出登录"
  144. android:textSize="@dimen/textsize_22"
  145. android:id="@+id/tv4"
  146. android:textColor="@color/white"
  147. />
  148. <ImageView
  149. android:layout_alignParentRight="true"
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:src="@drawable/iv_right" />
  153. </RelativeLayout>
  154. </LinearLayout>