version:1.3.5
fix: update:增加学习资源下载,修复退出桌面再进入卡顿,增加语音助手
This commit is contained in:
BIN
app/src/main/res/drawable-hdpi/robot.png
Normal file
BIN
app/src/main/res/drawable-hdpi/robot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
13
app/src/main/res/drawable/shape_bt_bg.xml
Normal file
13
app/src/main/res/drawable/shape_bt_bg.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 内部颜色 -->
|
||||
<solid android:color="@color/white" />
|
||||
<!-- 圆角的幅度 -->
|
||||
<corners android:radius="12dp" />
|
||||
|
||||
<padding
|
||||
android:bottom="4dp"
|
||||
android:left="4dp"
|
||||
android:right="4dp"
|
||||
android:top="4dp" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/shape_icv_et_bg_focus1.xml
Normal file
14
app/src/main/res/drawable/shape_icv_et_bg_focus1.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F2F2F2" />
|
||||
<!-- 大小 -->
|
||||
<size
|
||||
android:width="25dp"
|
||||
android:height="25dp" /><!-- 宽度和高度 -->
|
||||
<corners android:radius="12dp" />
|
||||
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#A6D8EB" />
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/shape_icv_et_bg_normal1.xml
Normal file
14
app/src/main/res/drawable/shape_icv_et_bg_normal1.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F2F2F2" />
|
||||
<!-- 大小 -->
|
||||
<size
|
||||
android:width="25dp"
|
||||
android:height="25dp" /><!-- 宽度和高度 -->
|
||||
<corners android:radius="12dp" />
|
||||
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#C7C7CD" />
|
||||
</shape>
|
||||
@@ -30,6 +30,18 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_robot"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:src="@drawable/robot"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/constraintLayout2"
|
||||
app:layout_constraintEnd_toStartOf="@+id/constraintLayout2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/magicIndicator" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout2"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -84,6 +96,7 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_1"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -144,6 +157,7 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_3"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -174,6 +188,7 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_4"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -204,6 +219,7 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_5"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
226
app/src/main/res/layout-land/activity_screen_lock.xml
Normal file
226
app/src/main/res/layout-land/activity_screen_lock.xml
Normal file
@@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/float_window_color">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="退出系统"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_15"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.065" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
||||
|
||||
<com.tuo.customview.VerificationCodeView
|
||||
android:id="@+id/icv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/sp_32"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
app:icv_et_bg_focus="@drawable/shape_icv_et_bg_focus1"
|
||||
app:icv_et_bg_normal="@drawable/shape_icv_et_bg_normal1"
|
||||
app:icv_et_divider_drawable="@drawable/shape_divider_identifying"
|
||||
app:icv_et_number="6"
|
||||
app:icv_et_pwd_radius="10dp"
|
||||
app:icv_et_text_color="#000000"
|
||||
app:icv_et_width="@dimen/sp_32"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintEnd_toEndOf="@+id/icv"
|
||||
app:layout_constraintStart_toStartOf="@+id/icv"
|
||||
app:layout_constraintTop_toBottomOf="@+id/icv" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard"
|
||||
android:layout_width="@dimen/dp_200"
|
||||
android:layout_height="@dimen/dp_160"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_hint">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="1"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="2"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="3"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="4"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="5"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="6"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_7"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="7"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_8"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="8"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="9"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_0"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="0"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_del"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="清除"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_confirm"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="确认"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -53,7 +53,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:text="精准学"
|
||||
android:text="AI精准学"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@@ -12,10 +12,11 @@
|
||||
|
||||
<com.flyco.tablayout.SlidingTabLayout
|
||||
android:id="@+id/main_sliding_tab_layout"
|
||||
android:layout_width="@dimen/dp_420"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginStart="@dimen/dp_8"
|
||||
android:layout_marginTop="@dimen/dp_2"
|
||||
android:layout_marginEnd="@dimen/dp_64"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
||||
@@ -145,6 +145,20 @@
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_activated2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:background="@drawable/activation_bg"
|
||||
android:gravity="center"
|
||||
android:text="学习资源下载"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_6"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView12"
|
||||
android:layout_width="@dimen/dp_68"
|
||||
@@ -175,12 +189,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bt_checkupdate_selector"
|
||||
android:paddingStart="@dimen/dp_8"
|
||||
android:paddingTop="@dimen/dp_2"
|
||||
android:paddingTop="@dimen/dp_4"
|
||||
android:paddingEnd="@dimen/dp_8"
|
||||
android:paddingBottom="@dimen/dp_2"
|
||||
android:paddingBottom="@dimen/dp_4"
|
||||
android:text="点击激活学习系统"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textSize="@dimen/sp_8"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -201,7 +215,7 @@
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:background="@drawable/activation_bg"
|
||||
android:gravity="center"
|
||||
android:text="设备已激活"
|
||||
android:text="学习资源下载"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_8"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@@ -251,7 +265,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:text="@string/today_study_time"
|
||||
tools:text="@string/today_study_time"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_8"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@@ -286,7 +300,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="2月14日 星期二"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textSize="@dimen/sp_10"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
@@ -366,6 +380,7 @@
|
||||
android:id="@+id/iv_device_qrcode"
|
||||
android:layout_width="@dimen/dp_88"
|
||||
android:layout_height="@dimen/dp_88"
|
||||
android:src="@color/white"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -416,8 +431,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView13"
|
||||
android:layout_width="@dimen/dp_16"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_width="@dimen/dp_12"
|
||||
android:layout_height="@dimen/dp_12"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -429,10 +444,10 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_4"
|
||||
android:text="更多应用"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textSize="@dimen/sp_10"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/imageView13"
|
||||
app:layout_constraintEnd_toStartOf="@+id/imageView13"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageView13" />
|
||||
|
||||
226
app/src/main/res/layout-port/activity_screen_lock.xml
Normal file
226
app/src/main/res/layout-port/activity_screen_lock.xml
Normal file
@@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/float_window_color">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="退出系统"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.219" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_40"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_40"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
||||
|
||||
<com.tuo.customview.VerificationCodeView
|
||||
android:id="@+id/icv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/sp_32"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
app:icv_et_bg_focus="@drawable/shape_icv_et_bg_focus1"
|
||||
app:icv_et_bg_normal="@drawable/shape_icv_et_bg_normal1"
|
||||
app:icv_et_divider_drawable="@drawable/shape_divider_identifying"
|
||||
app:icv_et_number="6"
|
||||
app:icv_et_pwd_radius="10dp"
|
||||
app:icv_et_text_color="#000000"
|
||||
app:icv_et_width="@dimen/sp_32"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintEnd_toEndOf="@+id/icv"
|
||||
app:layout_constraintStart_toStartOf="@+id/icv"
|
||||
app:layout_constraintTop_toBottomOf="@+id/icv" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_keyboard"
|
||||
android:layout_width="@dimen/dp_200"
|
||||
android:layout_height="@dimen/dp_200"
|
||||
android:layout_marginBottom="@dimen/dp_32"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="1"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="2"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="3"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="4"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="5"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="6"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_7"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="7"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_8"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="8"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="9"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_0"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="0"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_del"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="清除"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_confirm"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/dp_2"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/shape_bt_bg"
|
||||
android:text="确认"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -30,6 +30,18 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_robot"
|
||||
android:layout_width="@dimen/dp_32"
|
||||
android:layout_height="@dimen/dp_32"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/robot"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/constraintLayout2"
|
||||
app:layout_constraintEnd_toStartOf="@+id/constraintLayout2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/magicIndicator" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout2"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -43,10 +55,10 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_4"
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_marginEnd="@dimen/dp_4"
|
||||
android:layout_marginBottom="@dimen/dp_2"
|
||||
android:layout_marginStart="@dimen/dp_4"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@@ -86,7 +98,8 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon1"
|
||||
@@ -146,7 +159,8 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon3"
|
||||
@@ -176,7 +190,8 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon4"
|
||||
@@ -206,7 +221,8 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/cl_5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon5"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:maxLines="1"
|
||||
android:text="精准学"
|
||||
android:text="AI精准学"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@@ -12,10 +12,11 @@
|
||||
|
||||
<com.flyco.tablayout.SlidingTabLayout
|
||||
android:id="@+id/main_sliding_tab_layout"
|
||||
android:layout_width="@dimen/dp_380"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:layout_marginStart="@dimen/dp_8"
|
||||
android:layout_marginTop="@dimen/dp_2"
|
||||
android:layout_marginEnd="@dimen/dp_64"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
||||
@@ -144,6 +144,20 @@
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_activated2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:background="@drawable/activation_bg"
|
||||
android:gravity="center"
|
||||
android:text="学习资源下载"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_5"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView12"
|
||||
android:layout_width="@dimen/dp_54"
|
||||
@@ -180,7 +194,7 @@
|
||||
android:paddingBottom="@dimen/dp_2"
|
||||
android:text="点击激活学习系统"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_9"
|
||||
android:textSize="@dimen/sp_8"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -201,7 +215,7 @@
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:background="@drawable/activation_bg"
|
||||
android:gravity="center"
|
||||
android:text="设备已激活"
|
||||
android:text="学习资源下载"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_8"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@@ -314,7 +328,7 @@
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:text="激活系统后,绑定设备"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_8"
|
||||
android:textSize="@dimen/sp_7"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_date1" />
|
||||
@@ -369,6 +383,7 @@
|
||||
android:layout_marginStart="@dimen/dp_12"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@color/white"
|
||||
app:corner_radius="@dimen/dp_6"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_progress"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_applet_qrcode" />
|
||||
@@ -416,8 +431,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView13"
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_width="@dimen/dp_6"
|
||||
android:layout_height="@dimen/dp_6"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="@dimen/dp_300"
|
||||
android:layout_height="@dimen/dp_200"
|
||||
android:layout_width="@dimen/dp_280"
|
||||
android:layout_height="@dimen/dp_180"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/bg_dialog"
|
||||
android:minWidth="@dimen/dp_240"
|
||||
@@ -19,7 +19,6 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout2"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -48,12 +47,10 @@
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
android:visibility="visible"
|
||||
tools:text="消息提示" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -35,4 +35,6 @@
|
||||
<color name="percent_color">#E5B67B</color>
|
||||
<color name="activation_color">#1F2135</color>
|
||||
<color name="default_text_color">#6d888e</color>
|
||||
<color name="float_window_color">#E5000000</color>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user