|
|
@@ -192,84 +192,117 @@
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
android:id="@+id/leftLayout"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="@dimen/divider_616px"
|
|
|
+ android:layout_width="@dimen/divider_516px"
|
|
|
+ android:layout_height="@dimen/divider_606px"
|
|
|
android:layout_marginStart="@dimen/divider_40px"
|
|
|
android:layout_marginTop="@dimen/divider_55px"
|
|
|
android:layout_marginBottom="@dimen/divider_48px"
|
|
|
- app:cardCornerRadius="@dimen/divider_28px"
|
|
|
+ app:cardCornerRadius="@dimen/divider_58px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toStartOf="@id/rightLayout"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/titleLayout">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/gameLayout"
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/allLeftLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:background="@mipmap/icon_occupy_bitmap"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:visibility="gone"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rvGame"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gameLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginStart="@dimen/divider_20px"
|
|
|
- android:layout_marginTop="@dimen/divider_10px"
|
|
|
- android:layout_marginEnd="@dimen/divider_17px"
|
|
|
- android:layout_weight="1" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@mipmap/icon_interstellar"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btnNextPage"
|
|
|
- android:layout_width="@dimen/divider_307px"
|
|
|
- android:layout_height="@dimen/divider_56px"
|
|
|
- android:layout_marginTop="@dimen/divider_18px"
|
|
|
- android:layout_marginBottom="@dimen/divider_18px"
|
|
|
- android:background="@drawable/bg_home_game_btn"
|
|
|
- android:text="@string/next_page"
|
|
|
- android:textColor="@android:color/white"
|
|
|
- android:textSize="@dimen/divider_28px" />
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvGame"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginStart="@dimen/divider_20px"
|
|
|
+ android:layout_marginTop="@dimen/divider_10px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_17px"
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btnNextPage"
|
|
|
+ android:layout_width="@dimen/divider_307px"
|
|
|
+ android:layout_height="@dimen/divider_56px"
|
|
|
+ android:background="@drawable/bg_home_game_btn"
|
|
|
+ android:text="@string/next_page"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_28px" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/effectLayout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:background="@mipmap/icon_effect"
|
|
|
- android:orientation="vertical">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/interstellarLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginStart="@dimen/divider_43px"
|
|
|
- android:layout_marginTop="@dimen/divider_316px"
|
|
|
- android:layout_marginEnd="@dimen/divider_49px"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="欢迎使用未来海豚认知训练平台平台为您提供针对脑认知的各种类型的训练,您也可以根据您的训练数据优化训练方向。"
|
|
|
- android:textColor="@android:color/white"
|
|
|
- android:textSize="@dimen/divider_24px" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@mipmap/icon_interstellar"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/leftDoorImage"
|
|
|
+ android:layout_width="@dimen/divider_238px"
|
|
|
+ android:layout_height="@dimen/divider_544px"
|
|
|
+ android:layout_gravity="start"
|
|
|
+ android:layout_marginStart="@dimen/divider_33px"
|
|
|
+ android:layout_marginTop="@dimen/divider_29px"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@mipmap/icon_left_door" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatButton
|
|
|
- android:id="@+id/opneBtn"
|
|
|
- android:layout_width="@dimen/divider_315px"
|
|
|
- android:layout_height="@dimen/divider_88px"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/rightDoorImage"
|
|
|
+ android:layout_width="@dimen/divider_235px"
|
|
|
+ android:layout_height="@dimen/divider_544px"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:layout_marginTop="@dimen/divider_29px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_32px"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@mipmap/icon_right_door" />
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/effectLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginBottom="@dimen/divider_29px"
|
|
|
- android:background="@mipmap/icon_rectangle_button"
|
|
|
- android:gravity="center"
|
|
|
- android:text="开始训练"
|
|
|
- android:textColor="@android:color/white"
|
|
|
- android:textSize="@dimen/divider_28px"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:background="@mipmap/icon_effect"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginStart="@dimen/divider_43px"
|
|
|
+ android:layout_marginTop="@dimen/divider_316px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_49px"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="欢迎使用未来海豚认知训练平台平台为您提供针对脑认知的各种类型的训练,您也可以根据您的训练数据优化训练方向。"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_24px" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatButton
|
|
|
+ android:id="@+id/opneBtn"
|
|
|
+ android:layout_width="@dimen/divider_315px"
|
|
|
+ android:layout_height="@dimen/divider_88px"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginBottom="@dimen/divider_29px"
|
|
|
+ android:background="@mipmap/icon_rectangle_button"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="开始训练"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/taskLayout"
|