From 51ce7fccf7c1ad8fbfcc94c7b16cf996b61a48c6 Mon Sep 17 00:00:00 2001 From: xujianhong Date: Thu, 24 Jun 2021 14:29:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 035513d..0174cac 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,14 @@ - 所属系列:openharmony的第三方组件适配移植 - 功能:可以让Component在别的Component上执行的漂浮动画。 - 项目移植状态:主功能完成 -- 调用差异:有 -- 基线版本:release v1.0.2 -- 开发版本:sdk5,DevEco Studio2.1 Release +- 调用差异:有,详见调用差异说明 +- 基线版本:Release v1.0.2 +- 开发版本:sdk5,DevEco Studio 2.1 Release #### 效果演示 -#### 调用差异说明 -```java - 由于openharmony无对应API Window.ID_CONTENT所以需要传递当前的顶层Component在其上面进行操作 - 所以在初始化Floating的时候需要传递当前的Component -``` #### 安装教程 @@ -39,7 +34,7 @@ } ``` -在sdk5,DevEco Studio2.1 Release下项目可直接运行 +在sdk5,DevEco Studio 2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 @@ -174,6 +169,12 @@ FloatingBuilder floatingTransition(FloatingTransition floatingTransition) ``` +4.调用差异说明 + ```java + 由于openharmony无对应API Window.ID_CONTENT所以需要传递当前的顶层Component在其上面进行操作 + 所以在初始化Floating的时候需要传递当前的Component + ``` + #### 测试信息 CodeCheck代码测试无异常 @@ -188,7 +189,7 @@ CloudTest代码测试无异常 - 0.0.1-SNAPSHOT -## License +## 版权和许可信息 Copyright 2015 UFreedom -- Gitee From 7c61cd2cc8d7b28eb5c57d76121e93c4c170fdc5 Mon Sep 17 00:00:00 2001 From: xujianhong Date: Thu, 24 Jun 2021 14:35:08 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.OPENSOURCE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.OPENSOURCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.OPENSOURCE b/README.OPENSOURCE index a80ad76..e7a1358 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -8,7 +8,7 @@ "License File": "LICENSE", - "Version Number": "1.0.2", + "Version Number": "v1.0.2", "Upstream URL": "https://github.com/UFreedom/FloatingView", -- Gitee From a71c03fc5a0851c14c67af9e063f7c9253a70a3c Mon Sep 17 00:00:00 2001 From: xujianhong Date: Thu, 24 Jun 2021 14:35:28 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.OPENSOURCE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.OPENSOURCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.OPENSOURCE b/README.OPENSOURCE index e7a1358..645616f 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -4,7 +4,7 @@ "Name": "FloatingView", - "License": "Apache License 2.0", + "License": "Apache License", "License File": "LICENSE", -- Gitee