activity_help.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. tools:ignore="ResourceName">
  6. <data>
  7. <variable
  8. name="data"
  9. type="com.yingyangfly.baselib.bean.OrgBean" />
  10. </data>
  11. <LinearLayout
  12. style="@style/layout_properties_specify_width_geight"
  13. android:background="@mipmap/icon_uniform_background"
  14. android:orientation="vertical">
  15. <androidx.constraintlayout.widget.ConstraintLayout style="@style/layout_properties_specify_width">
  16. <LinearLayout
  17. android:id="@+id/layoutHome"
  18. android:layout_width="@dimen/divider_195px"
  19. android:layout_height="wrap_content"
  20. android:orientation="horizontal"
  21. app:layout_constraintStart_toStartOf="parent"
  22. app:layout_constraintTop_toTopOf="parent">
  23. <ImageView
  24. android:layout_width="@dimen/divider_110px"
  25. android:layout_height="@dimen/divider_48px"
  26. android:layout_marginStart="@dimen/divider_65px"
  27. android:layout_marginTop="@dimen/divider_50px"
  28. android:background="@mipmap/icon_bg_home" />
  29. <!-- <TextView-->
  30. <!-- style="@style/layout_properties_self_adaption"-->
  31. <!-- android:layout_marginStart="@dimen/divider_14px"-->
  32. <!-- android:layout_marginTop="@dimen/divider_38px"-->
  33. <!-- android:text="@string/home_pager"-->
  34. <!-- android:textColor="@android:color/white"-->
  35. <!-- android:textSize="@dimen/divider_28px"-->
  36. <!-- android:textStyle="bold" />-->
  37. </LinearLayout>
  38. <TextView
  39. android:id="@+id/tvTitle"
  40. android:layout_width="@dimen/divider_520px"
  41. android:layout_height="@dimen/divider_68px"
  42. android:layout_marginTop="@dimen/divider_40px"
  43. android:background="@mipmap/tittle_bg_1"
  44. android:gravity="center"
  45. android:text="@string/help"
  46. android:textColor="@color/color_FFFFFF"
  47. android:textSize="@dimen/divider_34px"
  48. android:textStyle="bold"
  49. app:layout_constraintEnd_toEndOf="parent"
  50. app:layout_constraintStart_toStartOf="parent"
  51. app:layout_constraintTop_toTopOf="parent" />
  52. </androidx.constraintlayout.widget.ConstraintLayout>
  53. <androidx.core.widget.NestedScrollView
  54. style="@style/layout_properties_specify_width_geight"
  55. android:layout_marginStart="@dimen/divider_100px"
  56. android:layout_marginTop="@dimen/divider_35px"
  57. android:layout_marginEnd="@dimen/divider_100px"
  58. android:layout_marginBottom="@dimen/divider_80px"
  59. android:background="@mipmap/tongyong_bg">
  60. <LinearLayout
  61. style="@style/layout_properties_specify_width"
  62. android:orientation="vertical"
  63. android:paddingBottom="@dimen/divider_109px">
  64. <LinearLayout
  65. style="@style/layout_properties_specify_width"
  66. android:orientation="horizontal">
  67. <LinearLayout
  68. android:layout_width="0dp"
  69. android:layout_height="wrap_content"
  70. android:layout_weight="1"
  71. android:orientation="vertical">
  72. <androidx.appcompat.widget.AppCompatTextView
  73. android:id="@+id/tvTrainingGuidance"
  74. style="@style/layout_properties_self_adaption"
  75. android:layout_marginStart="@dimen/divider_44px"
  76. android:layout_marginTop="@dimen/divider_48px"
  77. android:text="@string/training_guidance"
  78. android:textColor="@color/white"
  79. android:textSize="@dimen/divider_34px"
  80. android:textStyle="bold" />
  81. <androidx.appcompat.widget.AppCompatTextView
  82. style="@style/layout_properties_self_adaption"
  83. android:layout_marginStart="@dimen/divider_44px"
  84. android:layout_marginTop="@dimen/divider_18px"
  85. android:text="@string/warm_tips"
  86. android:textColor="@color/color_FFFFFF"
  87. android:textSize="@dimen/divider_28px" />
  88. <androidx.appcompat.widget.AppCompatTextView
  89. style="@style/layout_properties_self_adaption"
  90. android:layout_marginStart="@dimen/divider_44px"
  91. android:layout_marginTop="@dimen/divider_18px"
  92. android:text='@{"服务电话:"+data.phone}'
  93. android:textColor="@color/color_FFFFFF"
  94. android:textSize="@dimen/divider_28px" />
  95. <androidx.appcompat.widget.AppCompatTextView
  96. style="@style/layout_properties_self_adaption"
  97. android:layout_marginStart="@dimen/divider_44px"
  98. android:layout_marginTop="@dimen/divider_18px"
  99. android:text='@{"服务时间:"+data.workTime}'
  100. android:textColor="@color/color_FFFFFF"
  101. android:textSize="@dimen/divider_28px" />
  102. <androidx.appcompat.widget.AppCompatTextView
  103. style="@style/layout_properties_self_adaption"
  104. android:layout_marginStart="@dimen/divider_44px"
  105. android:layout_marginTop="@dimen/divider_18px"
  106. android:text="@string/enterprise_wecom"
  107. android:textColor="@color/color_FFFFFF"
  108. android:textSize="@dimen/divider_28px" />
  109. </LinearLayout>
  110. <androidx.appcompat.widget.LinearLayoutCompat
  111. style="@style/layout_properties_self_adaption"
  112. android:layout_marginStart="@dimen/divider_39px"
  113. android:layout_marginTop="@dimen/divider_45px"
  114. android:layout_marginEnd="@dimen/divider_45px"
  115. android:gravity="center_horizontal"
  116. android:orientation="vertical">
  117. <androidx.appcompat.widget.AppCompatImageView
  118. android:layout_width="@dimen/divider_160px"
  119. android:layout_height="@dimen/divider_160px"
  120. android:scaleType="centerInside"
  121. app:loadImg="@{data.wxUrl}" />
  122. <androidx.appcompat.widget.AppCompatTextView
  123. style="@style/layout_properties_self_adaption"
  124. android:layout_marginTop="@dimen/divider_9px"
  125. android:text="@string/online_cognitive_trainer"
  126. android:textColor="@color/color_FFFFFF"
  127. android:textSize="@dimen/divider_24px"
  128. android:textStyle="bold" />
  129. </androidx.appcompat.widget.LinearLayoutCompat>
  130. </LinearLayout>
  131. <!-- <View-->
  132. <!-- android:layout_width="match_parent"-->
  133. <!-- android:layout_height="@dimen/divider_1px"-->
  134. <!-- android:layout_marginStart="@dimen/divider_43px"-->
  135. <!-- android:layout_marginTop="@dimen/divider_36px"-->
  136. <!-- android:layout_marginEnd="@dimen/divider_32px"-->
  137. <!-- android:background="@color/color_FFB4B4B4" />-->
  138. <androidx.appcompat.widget.AppCompatTextView
  139. style="@style/layout_properties_self_adaption"
  140. android:layout_marginStart="@dimen/divider_44px"
  141. android:layout_marginTop="@dimen/divider_40px"
  142. android:text="@string/first_use_instructions"
  143. android:textColor="@color/white"
  144. android:textSize="@dimen/divider_34px"
  145. android:textStyle="bold" />
  146. <com.yingyang.personalcenter.widget.HelpItemView
  147. android:id="@+id/instructionsOneLayout"
  148. style="@style/layout_properties_specify_width"
  149. android:layout_marginTop="@dimen/divider_19px"
  150. app:help_click="false"
  151. app:help_image="true"
  152. app:help_text="1.什么是认知障碍数字疗法?" />
  153. <com.yingyang.personalcenter.widget.HelpItemView
  154. android:id="@+id/instructionsTwoLayout"
  155. style="@style/layout_properties_specify_width"
  156. app:help_click="false"
  157. app:help_image="true"
  158. app:help_text="2.训练须知" />
  159. <androidx.appcompat.widget.AppCompatTextView
  160. style="@style/layout_properties_self_adaption"
  161. android:layout_marginStart="@dimen/divider_44px"
  162. android:layout_marginTop="@dimen/divider_40px"
  163. android:text="@string/equipment_related_info"
  164. android:textColor="@color/white"
  165. android:textSize="@dimen/divider_34px"
  166. android:textStyle="bold" />
  167. <com.yingyang.personalcenter.widget.HelpItemView
  168. style="@style/layout_properties_specify_width"
  169. android:layout_marginTop="@dimen/divider_19px"
  170. app:help_content="@string/equipment_related_info_answer_one"
  171. app:help_image="false"
  172. app:help_text="@string/equipment_related_info_question_one" />
  173. <com.yingyang.personalcenter.widget.HelpItemView
  174. style="@style/layout_properties_specify_width"
  175. app:help_content="@string/equipment_related_info_answer_two"
  176. app:help_image="false"
  177. app:help_text="@string/equipment_related_info_question_two" />
  178. <com.yingyang.personalcenter.widget.HelpItemView
  179. style="@style/layout_properties_specify_width"
  180. app:help_content="@string/equipment_related_info_answer_three"
  181. app:help_image="false"
  182. app:help_text="@string/equipment_related_info_question_three" />
  183. <com.yingyang.personalcenter.widget.HelpItemView
  184. style="@style/layout_properties_specify_width"
  185. app:help_content="@string/equipment_related_info_answer_four"
  186. app:help_image="false"
  187. app:help_text="@string/equipment_related_info_question_four" />
  188. <com.yingyang.personalcenter.widget.HelpItemView
  189. style="@style/layout_properties_specify_width"
  190. app:help_content="@string/equipment_related_info_answer_five"
  191. app:help_image="false"
  192. app:help_text="@string/equipment_related_info_question_five" />
  193. <com.yingyang.personalcenter.widget.HelpItemView
  194. style="@style/layout_properties_specify_width"
  195. app:help_content="@string/equipment_related_info_answer_six"
  196. app:help_image="false"
  197. app:help_text="@string/equipment_related_info_question_six" />
  198. <com.yingyang.personalcenter.widget.HelpItemView
  199. style="@style/layout_properties_specify_width"
  200. app:help_content="@string/equipment_related_info_answer_seven"
  201. app:help_image="false"
  202. app:help_text="@string/equipment_related_info_question_seven" />
  203. <com.yingyang.personalcenter.widget.HelpItemView
  204. style="@style/layout_properties_specify_width"
  205. app:help_content="@string/equipment_related_info_answer_eight"
  206. app:help_image="false"
  207. app:help_text="@string/equipment_related_info_question_eight" />
  208. <!-- <com.yingyang.personalcenter.widget.HelpItemView-->
  209. <!-- style="@style/layout_properties_specify_width"-->
  210. <!-- app:help_content="@string/equipment_related_info_answer_nine"-->
  211. <!-- app:help_image="false"-->
  212. <!-- app:help_text="@string/equipment_related_info_question_nine" />-->
  213. <com.yingyang.personalcenter.widget.HelpItemView
  214. style="@style/layout_properties_specify_width"
  215. app:help_content="@string/equipment_related_info_answer_ten"
  216. app:help_image="false"
  217. app:help_text="@string/equipment_related_info_question_ten" />
  218. <androidx.appcompat.widget.AppCompatTextView
  219. android:layout_width="wrap_content"
  220. android:layout_height="wrap_content"
  221. android:layout_marginStart="@dimen/divider_44px"
  222. android:layout_marginTop="@dimen/divider_40px"
  223. android:text="@string/order_related_issues"
  224. android:textColor="@color/white"
  225. android:textSize="@dimen/divider_34px"
  226. android:textStyle="bold" />
  227. <com.yingyang.personalcenter.widget.HelpItemView
  228. android:id="@+id/issuesOneLayout"
  229. style="@style/layout_properties_specify_width"
  230. android:layout_marginTop="@dimen/divider_19px"
  231. app:help_click="false"
  232. app:help_image="true"
  233. app:help_text="订单服务协议" />
  234. <com.yingyang.personalcenter.widget.HelpItemView
  235. android:id="@+id/issuesTwoLayout"
  236. style="@style/layout_properties_specify_width"
  237. app:help_click="false"
  238. app:help_image="true"
  239. app:help_text="@string/equipment_lease_agreement" />
  240. </LinearLayout>
  241. </androidx.core.widget.NestedScrollView>
  242. </LinearLayout>
  243. </layout>