homehub.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ Copyright (c) 2015. Ncomz. All Rights Reserved
  4. -->
  5. <LinearLayout
  6. xmlns:android="http://schemas.android.com/apk/res/android"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:background="@drawable/color_body_01"
  11. android:fitsSystemWindows="true"
  12. android:orientation="vertical">
  13. <include layout="@layout/app_toolbar"/>
  14. <android.support.v4.widget.SwipeRefreshLayout
  15. android:id="@+id/swiperefreshlayou"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_weight="1"
  19. android:visibility="visible">
  20. <com.ntels.kneet.v2.common.widget.CustomScrollView
  21. android:id="@+id/svBody"
  22. android:layout_width="match_parent"
  23. android:layout_height="0dp"
  24. android:layout_weight="1"
  25. android:fadingEdge="none">
  26. <LinearLayout
  27. android:id="@+id/llSvbody"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:orientation="vertical">
  31. <LinearLayout
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:orientation="vertical"
  35. android:visibility="visible">
  36. <LinearLayout
  37. android:id="@+id/llState_Online"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:orientation="horizontal"
  41. android:paddingLeft="15dp"
  42. android:paddingRight="15dp"
  43. android:visibility="visible">
  44. <LinearLayout
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_marginTop="25dp"
  48. android:layout_weight="1"
  49. android:orientation="vertical"
  50. android:paddingLeft="15dp">
  51. <TextView
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_weight="1"
  55. android:includeFontPadding="false"
  56. android:text="@string/layout_homehub_02"
  57. android:textColor="@color/color_text_01"
  58. android:textSize="@dimen/size_font_02"
  59. android:textStyle="bold"
  60. />
  61. <TextView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_marginTop="8dp"
  65. android:layout_weight="1"
  66. android:includeFontPadding="false"
  67. android:text="@string/layout_homehub_03"
  68. android:textColor="@color/color_text_01"
  69. android:textSize="@dimen/size_font_04"
  70. />
  71. </LinearLayout>
  72. <ImageView
  73. android:layout_width="55dp"
  74. android:layout_height="55dp"
  75. android:layout_marginBottom="20dp"
  76. android:layout_marginTop="20dp"
  77. android:background="@drawable/img_homehub_icon_online"/>
  78. </LinearLayout>
  79. <LinearLayout
  80. android:id="@+id/llState_Offline"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:orientation="horizontal"
  84. android:paddingLeft="15dp"
  85. android:paddingRight="15dp"
  86. android:visibility="gone">
  87. <LinearLayout
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_marginTop="25dp"
  91. android:layout_weight="1"
  92. android:orientation="vertical"
  93. android:paddingLeft="15dp">
  94. <TextView
  95. android:layout_width="wrap_content"
  96. android:layout_height="wrap_content"
  97. android:layout_weight="1"
  98. android:includeFontPadding="false"
  99. android:text="@string/layout_homehub_02"
  100. android:textColor="@color/color_text_01"
  101. android:textSize="@dimen/size_font_02"
  102. android:textStyle="bold"
  103. />
  104. <TextView
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_marginTop="8dp"
  108. android:layout_weight="1"
  109. android:includeFontPadding="false"
  110. android:text="@string/layout_homehub_04"
  111. android:textColor="@color/color_text_01"
  112. android:textSize="@dimen/size_font_04"
  113. />
  114. </LinearLayout>
  115. <ImageView
  116. android:layout_width="55dp"
  117. android:layout_height="55dp"
  118. android:layout_marginBottom="20dp"
  119. android:layout_marginTop="20dp"
  120. android:background="@drawable/img_homehub_icon_offline"/>
  121. </LinearLayout>
  122. <View style="@style/width_Divider_01"/>
  123. <View style="@style/width_section"/>
  124. <LinearLayout
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_weight="1"
  128. android:orientation="vertical"
  129. android:paddingBottom="25dp"
  130. android:paddingLeft="30dp"
  131. android:paddingRight="15dp"
  132. android:paddingTop="25dp">
  133. <TextView
  134. android:layout_width="wrap_content"
  135. android:layout_height="wrap_content"
  136. android:layout_weight="1"
  137. android:includeFontPadding="false"
  138. android:text="@string/layout_homehub_05"
  139. android:textColor="@color/color_text_01"
  140. android:textSize="@dimen/size_font_02"
  141. android:textStyle="bold"
  142. />
  143. <TextView
  144. android:id="@+id/tvDate"
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:layout_marginTop="8dp"
  148. android:layout_weight="1"
  149. android:includeFontPadding="false"
  150. android:text="@string/layout_homehub_04"
  151. android:textColor="@color/color_text_01"
  152. android:textSize="@dimen/size_font_04"
  153. />
  154. </LinearLayout>
  155. <View style="@style/width_Divider_01"/>
  156. <View style="@style/width_section"/>
  157. <LinearLayout
  158. android:id="@+id/llKeyChange"
  159. android:layout_width="match_parent"
  160. android:layout_height="wrap_content"
  161. android:orientation="vertical">
  162. <LinearLayout
  163. android:layout_width="match_parent"
  164. android:layout_height="wrap_content"
  165. android:layout_weight="1"
  166. android:orientation="vertical"
  167. android:paddingBottom="20dp"
  168. android:paddingLeft="30dp"
  169. android:paddingRight="15dp"
  170. android:visibility="visible">
  171. <LinearLayout
  172. android:layout_width="match_parent"
  173. android:layout_height="wrap_content"
  174. android:gravity="top"
  175. android:orientation="horizontal">
  176. <TextView
  177. android:layout_width="wrap_content"
  178. android:layout_height="wrap_content"
  179. android:layout_marginTop="25dp"
  180. android:layout_weight="1"
  181. android:includeFontPadding="false"
  182. android:text="@string/layout_homehub_06"
  183. android:textColor="@color/color_text_01"
  184. android:textSize="@dimen/size_font_02"
  185. android:textStyle="bold"
  186. />
  187. <Button
  188. android:id="@+id/btnKeyChange"
  189. android:layout_width="wrap_content"
  190. android:layout_height="35dp"
  191. android:layout_marginTop="20dp"
  192. android:background="@drawable/d_img_btn_bg_red"
  193. android:text="@string/layout_homehub_07"/>
  194. </LinearLayout>
  195. <TextView
  196. android:layout_width="wrap_content"
  197. android:layout_height="wrap_content"
  198. android:layout_marginTop="20dp"
  199. android:layout_weight="1"
  200. android:includeFontPadding="false"
  201. android:text="@string/layout_homehub_08"
  202. android:textColor="@color/color_text_02"
  203. android:textSize="@dimen/size_font_04"
  204. />
  205. <TextView
  206. android:layout_width="wrap_content"
  207. android:layout_height="wrap_content"
  208. android:layout_marginTop="8dp"
  209. android:layout_weight="1"
  210. android:includeFontPadding="false"
  211. android:text="@string/layout_homehub_09"
  212. android:textColor="@color/color_text_01"
  213. android:textSize="@dimen/size_font_04"
  214. />
  215. <TextView
  216. android:layout_width="wrap_content"
  217. android:layout_height="wrap_content"
  218. android:layout_marginTop="8dp"
  219. android:layout_weight="1"
  220. android:includeFontPadding="false"
  221. android:text="@string/layout_homehub_10"
  222. android:textColor="@color/color_text_01"
  223. android:textSize="@dimen/size_font_04"
  224. />
  225. </LinearLayout>
  226. <View style="@style/width_Divider_01"/>
  227. <View style="@style/width_section"/>
  228. <LinearLayout
  229. android:layout_width="match_parent"
  230. android:layout_height="wrap_content"
  231. android:layout_weight="1"
  232. android:orientation="horizontal"
  233. android:paddingBottom="40dp"
  234. android:paddingLeft="15dp"
  235. android:paddingRight="15dp"
  236. android:paddingTop="40dp">
  237. <ImageView
  238. android:layout_width="10dp"
  239. android:layout_height="10dp"
  240. android:layout_marginTop="3dp"
  241. android:background="@drawable/common_bullet_circle_black"/>
  242. <TextView
  243. android:layout_width="wrap_content"
  244. android:layout_height="wrap_content"
  245. android:layout_marginLeft="5dp"
  246. android:layout_weight="1"
  247. android:includeFontPadding="false"
  248. android:text="@string/layout_homehub_11"
  249. android:textColor="@color/color_text_01"
  250. android:textSize="@dimen/size_font_04"
  251. />
  252. </LinearLayout>
  253. </LinearLayout>
  254. </LinearLayout>
  255. </LinearLayout>
  256. </com.ntels.kneet.v2.common.widget.CustomScrollView>
  257. </android.support.v4.widget.SwipeRefreshLayout>
  258. <LinearLayout
  259. android:layout_width="match_parent"
  260. android:layout_height="wrap_content"
  261. android:orientation="vertical">
  262. <View
  263. style="@style/width_Divider_02"/>
  264. <LinearLayout
  265. android:layout_width="match_parent"
  266. android:layout_height="60dp"
  267. android:layout_gravity="center_horizontal"
  268. android:background="@drawable/color_bg_01"
  269. android:gravity="center">
  270. <LinearLayout
  271. android:id="@+id/llBtn1"
  272. android:layout_width="0dp"
  273. android:layout_height="match_parent"
  274. android:layout_weight="1"
  275. android:gravity="center">
  276. <TextView
  277. android:id="@+id/tvBtn1"
  278. android:layout_width="wrap_content"
  279. android:layout_height="wrap_content"
  280. android:background="@null"
  281. android:includeFontPadding="false"
  282. android:text="@string/layout_close"
  283. android:textColor="@drawable/d_font_color_font_01_color_font_02"
  284. android:textSize="@dimen/size_font_05"
  285. android:textStyle="bold"/>
  286. </LinearLayout>
  287. </LinearLayout>
  288. </LinearLayout>
  289. </LinearLayout>