version:6.5

fix:
update:增加自动接听,语音播报,拨号提示音,悬浮按钮
This commit is contained in:
2024-07-10 18:44:46 +08:00
parent 90e98b73c0
commit ed06e2903c
70 changed files with 7109 additions and 1223 deletions

View File

@@ -0,0 +1,64 @@
<?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"
tools:context=".activity.tts.TtsActivity">
<data>
<variable
name="click"
type="com.uiuios.aios.activity.tts.TtsActivity.BtnClick" />
<variable
name="body"
type="String" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/root"
android:layout_width="@dimen/dp_340"
android:layout_height="@dimen/dp_300"
android:background="@drawable/location_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ScrollView
android:layout_width="match_parent"
android:layout_margin="@dimen/dp_8"
android:layout_height="match_parent">
<TextView
android:id="@+id/tv_body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@{body}"
android:textColor="@color/black"
android:textSize="@dimen/sp_18"
tools:text="@string/app_name" />
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/iv_finish"
android:layout_width="@dimen/dp_56"
android:layout_height="@dimen/dp_56"
android:layout_marginTop="@dimen/dp_16"
android:adjustViewBounds="true"
android:onClick="@{click::exit}"
android:scaleType="centerCrop"
android:src="@drawable/close"
app:layout_constraintEnd_toEndOf="@+id/root"
app:layout_constraintStart_toStartOf="@+id/root"
app:layout_constraintTop_toBottomOf="@+id/root" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>