version:1.3.5

fix:
update:增加学习资源下载,修复退出桌面再进入卡顿,增加语音助手
This commit is contained in:
2023-04-23 11:08:44 +08:00
parent eef000be87
commit 3346ffca88
29 changed files with 982 additions and 109 deletions

View 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>