|
|
@@ -1,16 +1,298 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools">
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ tools:ignore="ResourceName">
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/bg_center">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/bg_center"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layoutHome"
|
|
|
+ android:layout_width="@dimen/divider_195px"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/divider_48px"
|
|
|
+ android:layout_height="@dimen/divider_43px"
|
|
|
+ android:layout_marginStart="@dimen/divider_65px"
|
|
|
+ android:layout_marginTop="@dimen/divider_35px"
|
|
|
+ android:background="@mipmap/bg_home" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_14px"
|
|
|
+ android:layout_marginTop="@dimen/divider_38px"
|
|
|
+ android:text="@string/home_pager"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tvTitle"
|
|
|
+ android:layout_width="@dimen/divider_237px"
|
|
|
+ android:layout_height="@dimen/divider_68px"
|
|
|
+ android:layout_marginTop="@dimen/divider_40px"
|
|
|
+ android:background="@drawable/bg_common_head_layout"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/help"
|
|
|
+ android:textColor="@color/color_FF4974FF"
|
|
|
+ android:textSize="@dimen/divider_34px"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/divider_60px"
|
|
|
+ android:layout_marginTop="@dimen/divider_57px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_60px"
|
|
|
+ android:layout_marginBottom="@dimen/divider_62px"
|
|
|
+ android:background="@drawable/bg_setting_center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingBottom="@dimen/divider_109px">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tvTrainingGuidance"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_48px"
|
|
|
+ android:text="训练指导"
|
|
|
+ android:textColor="@color/color_FF4A76FF"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_18px"
|
|
|
+ android:text="温馨提示:如果训练时遇到问题,请联系线上认知训练师为您解答。"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_18px"
|
|
|
+ android:text="服务电话:XXX-XXXXXXX"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_18px"
|
|
|
+ android:text="服务时间:工作日8:30-18:00"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_18px"
|
|
|
+ android:text="企业微信:扫描右侧二维码,添加线上认知训练师企业微信。"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_39px"
|
|
|
+ android:layout_marginTop="@dimen/divider_25px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_45px"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:layout_width="@dimen/divider_218px"
|
|
|
+ android:layout_height="@dimen/divider_218px"
|
|
|
+ android:background="@mipmap/icon_qr_code" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/divider_9px"
|
|
|
+ android:text="线上认知训练师"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_1px"
|
|
|
+ android:layout_marginStart="@dimen/divider_43px"
|
|
|
+ android:layout_marginTop="@dimen/divider_36px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_32px"
|
|
|
+ android:background="@color/color_FFB4B4B4" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_40px"
|
|
|
+ android:text="首次使用说明"
|
|
|
+ android:textColor="@color/color_FF4A76FF"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ android:layout_marginTop="@dimen/divider_19px"
|
|
|
+ app:help_image="true"
|
|
|
+ app:help_text="1.什么是认知障碍数字疗法?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="true"
|
|
|
+ app:help_text="2.训练前须知" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_40px"
|
|
|
+ android:text="设备相关"
|
|
|
+ android:textColor="@color/color_FF4A76FF"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ android:layout_marginTop="@dimen/divider_19px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="1.平板出现死机如何解决?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="2.平板出现黑屏怎么办?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="1.平板出现死机如何解决?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="3.平板出现卡顿、闪退怎么办?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="4.如何连接Wi-Fi?如何联网?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="5.移动数据上网速度慢怎么办?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="6.如何调节音量大小?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="7.如何切换声音震动及响铃?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="8.扬声器/耳机音量太低听不到声音怎么办?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="9.平板电脑太费电怎么办?" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="false"
|
|
|
+ app:help_text="710.触屏不灵敏怎么办?" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_44px"
|
|
|
+ android:layout_marginTop="@dimen/divider_40px"
|
|
|
+ android:text="订单相关问题"
|
|
|
+ android:textColor="@color/color_FF4A76FF"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ android:layout_marginTop="@dimen/divider_19px"
|
|
|
+ app:help_image="true"
|
|
|
+ app:help_text="订单服务协议" />
|
|
|
+
|
|
|
+ <com.yingyang.personalcenter.widget.HelpItemView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_84px"
|
|
|
+ app:help_image="true"
|
|
|
+ app:help_text="设备租赁协议" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
</layout>
|