diff --git a/CHANGELOG.md b/CHANGELOG.md index 245e84af521af0a8f43a293f96f9b3a00c543216..09b579b8951cba93a2396dda01747cbfd3187ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,2 @@ ## 0.0.1-SNAPSHOT -* refactor: For module library Android-to-OpenHarmony - -## 1.4.0 -* 添加新的provider以及tab等新的设置。 - -## 1.3.0 -* 修改参数属性,将tab标签换为apTab开头标签,避免与support包冲突。 \ No newline at end of file +* ohos 第一个版本,完整实现了原库的全部api \ No newline at end of file diff --git a/README.OPENSOURCE b/README.OPENSOURCE new file mode 100644 index 0000000000000000000000000000000000000000..65e59368c07f1a3e6f0c9da7a3cb77158a762535 --- /dev/null +++ b/README.OPENSOURCE @@ -0,0 +1,19 @@ +[ + + { + + "Name": "AdvancedPagerSlidingTabStrip", + + "License": "", + + "License File": "", + + "Version Number": "1.8.0", + + "Upstream URL": "https://hub.fastgit.org/HomHomLin/AdvancedPagerSlidingTabStrip", + + "Description": "AdvancedPagerSlidingTabStrip是一种自定义导航控件,完美兼容openharmony自带库和兼容库的PageSlider组件" + + } + +] \ No newline at end of file diff --git a/README.md b/README.md index f72f534e6def76821e1f7e3135e709ceb358c4d9..ae09268a17e576a62a1dff0ed6555251e02004e7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ #### 项目介绍 - 项目名称:AdvancedPagerSlidingTabStrip -- 所属系列:openHarmony的第三方组件适配移植 +- 所属系列:openharmony的第三方组件适配移植 - 功能:支持Tab小圆点以及数量显示和隐藏、支持自定义Tab Component,支持使用Component、Element和本地resId来显示Tab图标, 支持自由设置小圆点、tab大小和位置等设置,支持实现如:微博等不均匀Tab的APP风格,并支持滑动 - 项目移植状态:100% @@ -138,7 +138,7 @@ AdvancedPagerSlidingTabStrip支持绑定OnPageChangeListener,并且不影响 有时候我们不使用自定义Component显示模式又想调整现有的Tab,比如设置小圆点位置、tab大小和间距等来满足原有就可以实现的需求。 - AdvancedPagerSlidingTabStrip提供了几个Provider来实现这些功能,你可以通过将你的Provider实现定制的接口方法来实现,具体可以查看demo中的WeiboTabActivity.java。 + AdvancedPagerSlidingTabStrip提供了几个Provider来实现这些功能,你可以通过将你的Provider实现定制的接口方法来实现,具体可以查看demo中的WeiboTabAbility.java。     diff --git a/entry/src/main/resources/base/element/float.json b/entry/src/main/resources/base/element/float.json index 2f73d769f0a7cc8c17b9edb3abea9a7bcbce026b..65cca748ac34812e9453c0aca869c625b2573877 100644 --- a/entry/src/main/resources/base/element/float.json +++ b/entry/src/main/resources/base/element/float.json @@ -1,11 +1,11 @@ { "float": [ { - "name": "activity_horizontal_margin", + "name": "ability_horizontal_margin", "value": "16vp" }, { - "name": "activity_vertical_margin", + "name": "ability_vertical_margin", "value": "16vp" }, { diff --git a/entry/src/main/resources/base/graphic/tab_color_select.xml b/entry/src/main/resources/base/graphic/tab_color_select.xml index 27f22f606dbe597862095b1b4848b2519ea107a9..9838e03c01d621c80a5987abf16201467cd216cb 100644 --- a/entry/src/main/resources/base/graphic/tab_color_select.xml +++ b/entry/src/main/resources/base/graphic/tab_color_select.xml @@ -1,12 +1,4 @@ - - - - - - - - diff --git a/entry/src/main/resources/base/layout/ability_main.xml b/entry/src/main/resources/base/layout/ability_main.xml index df05850dff6903ebd52448532eb5eb33dd380987..016ffa1ac943540a3a789d57a8e73be48ebd5f87 100644 --- a/entry/src/main/resources/base/layout/ability_main.xml +++ b/entry/src/main/resources/base/layout/ability_main.xml @@ -12,7 +12,7 @@ ohos:bottom_margin="10vp" ohos:width="match_parent" ohos:background_element="$graphic:background_button" - ohos:text="START NORMAL TAB ACTIVITY" + ohos:text="START NORMAL TAB ABILITY" ohos:text_size="14fp"/>