Fetch the repository succeeded.
项目名称: ShadowImageView
所属系列:openharmony的第三方组件适配移植
功能:设置图片、设置图片半径、设置图片阴影颜色、根据图片内容获取阴影颜色。
项目移植状态:主功能已完成
调用差异:无
开发版本:sdk6,DevEco Studio2.2 Beta1
基线版本:master分支
1.在项目根目录下的build.gradle文件中,
allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
}
}
2.在entry模块的build.gradle文件中,
dependencies {
implementation('com.gitee.chinasoft_ohos:shadowimageview:1.0.0')
......
}
在sdk6,DevEco Studio2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
设置图片
shadow.setImageResource();
设置图片半径
shadow.setImageRadius()
设置阴影颜色
setDrawColor()
CodeCheck代码测试无异常
CloudTest代码测试无异常
病毒安全检测通过
当前版本demo功能与原组件基本无差异
The work done has been licensed under Apache License 2.0. The license file can be found here. You can find out more about the license at:
http://www.apache.org/licenses/LICENSE-2.0
Sign in to post a comment
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.
Repository Comments ( 0 )