diff --git a/README.md b/README.md
index 6d8115457fc2b366e17388930b47f842adf06f9e..495a395e8b024543bce1d77ffcb3af55c27f14f6 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
# SpeechRecognitionView
#### 项目介绍
-- 项目名称:语音识别动画
+- 项目名称:SpeechRecognitionView
- 所属系列:openharmony的第三方组件适配移植
- 功能:一种动画通过语音来控制变化
- 项目移植状态:主功能完成
- 调用差异:无
-- 开发版本:sdk6,DevEco Studio2.2 Bate1
+- 开发版本:sdk6,DevEco Studio2.2 Beta1
- 基线版本:Releases 1.2.2
#### 效果演示
@@ -32,7 +32,7 @@ allprojects {
}
```
-在sdk6,DevEco Studio2.2 Bate1下项目可直接运行
+在sdk6,DevEco Studio2.2 Beta1下项目可直接运行
如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件,
并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
diff --git a/build.gradle b/build.gradle
index a8f39f4d73e08335c056116fea91992d30b9da6d..646c44c668e2409db2fca572f7885c03543078e2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,9 +3,9 @@ apply plugin: 'com.huawei.ohos.app'
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos {
- compileSdkVersion 5
+ compileSdkVersion 6
defaultConfig {
- compatibleSdkVersion 4
+ compatibleSdkVersion 5
}
}
diff --git a/entry/build.gradle b/entry/build.gradle
index 8ba888ea2530f0a17bbc3c4bf31b37f8ad187d6d..835ce8541ce2a948beaa62beb50cf8abb15e941e 100644
--- a/entry/build.gradle
+++ b/entry/build.gradle
@@ -3,9 +3,9 @@ apply plugin: 'com.huawei.ohos.decctest'
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos {
- compileSdkVersion 5
+ compileSdkVersion 6
defaultConfig {
- compatibleSdkVersion 4
+ compatibleSdkVersion 5
}
buildTypes {
release {
diff --git a/entry/src/main/resources/base/layout/ability_main.xml b/entry/src/main/resources/base/layout/ability_main.xml
index 3594c6b1fed52544cd682c4eae7d86ccbaf4c747..8c7840886307aac069ba5ad97a3159ac9b032664 100644
--- a/entry/src/main/resources/base/layout/ability_main.xml
+++ b/entry/src/main/resources/base/layout/ability_main.xml
@@ -6,71 +6,68 @@
ohos:width="match_parent"
ohos:alignment="center"
ohos:orientation="vertical">
-
-
+
+
-
-
-
-
-
+ ohos:background_element="#4A5ABF"
+ ohos:left_padding="10vp"
+ ohos:id="$+id:title"
+ ohos:text="SpeechRecognitionView"
+ ohos:text_font="sans-serif-medium"
+ ohos:text_alignment="vertical_center"
+ ohos:text_color="#ffffff"
+ ohos:text_size="16vp"/>
-
+
-
+
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/speechrecognitionview/build.gradle b/speechrecognitionview/build.gradle
index 4fbb637aa410ab68ba5e4e521b596585f2a614e1..a3be21307d064dab04788283efbff7ab9cd264b4 100644
--- a/speechrecognitionview/build.gradle
+++ b/speechrecognitionview/build.gradle
@@ -1,9 +1,9 @@
apply plugin: 'com.huawei.ohos.library'
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos {
- compileSdkVersion 5
+ compileSdkVersion 6
defaultConfig {
- compatibleSdkVersion 4
+ compatibleSdkVersion 5
}
buildTypes {
release {