
回复
项目名称:bubble-navigation
所属系列:openharmony的第三方组件适配移植
功能:轻量级的自定义导航栏组件
基线版本:Releases 1.0.4
项目移植状态:主功能完成
调用差异:无
开发版本:sdk6,DevEco Studio 2.2 Beta1
1.在项目根目录下的build.gradle文件中,
2.在entry模块的build.gradle文件中,
在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行,如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
attr | Description |
---|---|
bt_active | Sets to Active State |
bt_colorActive | When in Active State, uses this color for the Icon and Title |
bt_colorInctive | When in Inactive State, uses this color for the Icon and Title |
bt_icon | Sets the Icon Drawable |
bt_iconWidth | Updates the Icon Width |
bt_iconHeight | Updates the Icon Height |
bt_title | Sets the Title Text |
bt_titleSize | Updates the Tilte Text Size in integer |
bt_shape | Sets the Background Element |
bt_showShapeAlways | If true and using Normal element, background shape remains visible always |
bt_shapeColor | Changes the tint color of the shape |
bt_duration | Sets time duration for toggle animation to complete in ms |
bt_padding | Sets the internal padding in integer |
bt_titlePadding | Sets the title padding in integer |
bt_badgeText | Sets the text for the badge |
bt_badgeTextSize | Sets the font size of the badge text |
bt_badgeTextColor | Sets the text color of the badge |
bt_badgeBackgroundColor | Sets the background color of the badge |
bt_modeDisplay | Changes the display mode the child elements |
- spread : equally distributes the child elements | |
- packed : elements are packed with center gravity | |
- inside : inside elements are equally distributed |
CodeCheck代码测试无异常
CloudTest代码测试无异常
病毒安全检测通过
当前版本demo功能与原组件基本无差异