Android ViewPagerIndicator Library


License

License

GroupId

GroupId

cn.bingoogolapple
ArtifactId

ArtifactId

bga-indicator
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

Android ViewPagerIndicator Library
Android ViewPagerIndicator Library
Project URL

Project URL

https://github.com/bingoogolapple/BGAIndicator-Android
Source Code Management

Source Code Management

https://github.com/bingoogolapple/BGAIndicator-Android

Download bga-indicator

How to add to project

<!-- https://jarcasting.com/artifacts/cn.bingoogolapple/bga-indicator/ -->
<dependency>
    <groupId>cn.bingoogolapple</groupId>
    <artifactId>bga-indicator</artifactId>
    <version>1.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/cn.bingoogolapple/bga-indicator/
implementation 'cn.bingoogolapple:bga-indicator:1.0.1'
// https://jarcasting.com/artifacts/cn.bingoogolapple/bga-indicator/
implementation ("cn.bingoogolapple:bga-indicator:1.0.1")
'cn.bingoogolapple:bga-indicator:aar:1.0.1'
<dependency org="cn.bingoogolapple" name="bga-indicator" rev="1.0.1">
  <artifact name="bga-indicator" type="aar" />
</dependency>
@Grapes(
@Grab(group='cn.bingoogolapple', module='bga-indicator', version='1.0.1')
)
libraryDependencies += "cn.bingoogolapple" % "bga-indicator" % "1.0.1"
[cn.bingoogolapple/bga-indicator "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » support-v4 jar 23.2.1

Project Modules

There are no modules declared in this project.

🏃 BGAIndicator-Android 🏃

License Maven Central

支持Indicator和ViewPager宽度不相等时也能正确运行的滑动指示器

效果图

Image of BGAFixedIndicatorDemo

Gradle依赖

dependencies {
    compile 'com.android.support:support-v4:latestVersion'
    compile 'cn.bingoogolapple:bga-indicator:latestVersion@aar'
}

自定义属性说明

<declare-styleable name="BGAIndicator">
    <attr name="indicator_textColor" format="color|reference" />
    <attr name="indicator_textSizeNormal" format="dimension|reference" />
    <attr name="indicator_textSizeSelected" format="dimension|reference" />
    <attr name="indicator_triangleHorizontalMargin" format="dimension|reference" />
    <attr name="indicator_triangleColor" format="color|reference" />
    <attr name="indicator_triangleHeight" format="dimension|reference" />
    <attr name="indicator_hasDivider" format="boolean" />
    <attr name="indicator_dividerColor" format="color|reference" />
    <attr name="indicator_dividerWidth" format="dimension|reference" />
    <attr name="indicator_dividerVerticalMargin" format="dimension|reference" />
</declare-styleable>

详细用法请查看demo 🐾

关于我

新浪微博 个人主页 邮箱 BGA系列开源库QQ群
bingoogolapple bingoogolapple.cn [email protected] BGA_CODE_CLUB

License

Copyright 2015 bingoogolapple

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0.1
1.0.0