6 Star 3 Fork 2

HarmonyOS-TPC/FlycoPageIndicator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
张小秋 提交于 2021-11-12 07:37 . docs:修改图片地址

FlycoPageIndicator

A Page Indicator Lib.

Preview

Gradle

allprojects{
    repositories{
        mavenCentral()
    }
}
implementation 'io.openharmony.tpc.thirdlib:FlycoPageIndicator:1.0.2'

Attributes

name format description
fpi_width dimension indicator width, unit vp,default 16vp
fpi_height dimension indicator height,unit vp,default 16vp
fpi_gap dimension indicator space between two indicators,unit vp,default 20vp
fpi_strokeWidth dimension width of the stroke used to draw the indicators,default 0vp
fpi_strokeColor color color of the stroke used to draw the indicators,default "#FFFFFFFF"
fpi_isSnap boolean Whether or not the selected indicator snaps to the indicators,default false
fpi_selectColor color indicator select color ,default "#FFFFFFFF"
fpi_unselectColor color indicator unselect color ,default "#FFFFFF88"
fpi_cornerRadius dimension indicator corner raduis ,unit dp,default 8vp
fpi_selectRes reference indicator select drawable resource
fpi_unselectRes reference indicator unselect drawable resource

entry运行要求

通过DevEco studio,并下载SDK 将项目中的build.gradle文件中dependencies→classpath版本改为对应的版本(即你的IDE新建项目中所用的版本)

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HarmonyOS-tpc/FlycoPageIndicator.git
git@gitee.com:HarmonyOS-tpc/FlycoPageIndicator.git
HarmonyOS-tpc
FlycoPageIndicator
FlycoPageIndicator
master

搜索帮助

Cb406eda 1850385 E526c682 1850385