Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
35d3f96
Compatibility with Android Studio and Gradle
HozakaN Apr 10, 2015
409ac1c
Fixed build failed when use lint check.
msdx Aug 11, 2015
8cffd7d
Fixed the issue that CirclePageIndicator not properly centered.
msdx Aug 11, 2015
20b2f37
Add icon direction and size support for TabPageIndicator.
msdx Aug 11, 2015
6384495
Fixed problem that viewpager didn't shown in top icons sample.
msdx Aug 12, 2015
6c6c207
Publish 2.4.2 to JCenter.
msdx Aug 12, 2015
28f98a4
Update README.md for version 2.4.2
msdx Aug 12, 2015
1aff30d
Fix #365 that the width is not properly when set the gap property
msdx Aug 12, 2015
8043a93
Integration PagerSlidingTabStrip.
msdx Aug 12, 2015
07774d6
Fixed the bugs about tab state and OnPageChangeListener in StripPageI…
msdx Aug 12, 2015
370ebdc
Publish 2.5-SNAPSHOT version to oss.jfrog.org
msdx Aug 12, 2015
578f2b6
Fixed the crash bug when use StripPageIndicator without set tabTextCo…
msdx Aug 13, 2015
4b78425
Fixed that measureLong was inaccurate.
msdx Aug 19, 2015
40af4ad
Fixed #364 that the stroke width did not join to calculation of circl…
msdx Aug 19, 2015
5c4b81c
Publish 2.5 to JCenter.
msdx Nov 2, 2015
c863558
Upgrade gradle plugin to 2.3.0-alpha3
msdx Jan 5, 2017
3a4bf3b
Update buildToolsVersion and publish script
msdx Jan 5, 2017
e1a6399
Use Math instead of deprecated FloatMath
msdx Jan 5, 2017
899bab3
chmod +x gradlew
msdx Jan 5, 2017
7419413
Fix compile error on terminal
msdx Jan 5, 2017
56fd280
Upgrade gradle plugin to 2.3.0
msdx Jun 7, 2017
2df510b
Publish 2.5.1 to JCenter
msdx Jun 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,14 @@ pom.xml.*
local.properties
build.xml
proguard-project.txt

# Mac OS files
.DS_Store

#Gradle files
.gradle/
.gradle
.gradle/*

#Build
build/
33 changes: 21 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Android ViewPagerIndicator
==========================

[ ![Download](https://api.bintray.com/packages/msdx/maven/ViewPagerIndicator/images/download.svg) ][12]

Paging indicator widgets that are compatible with the `ViewPager` from the
[Android Support Library][2] to improve discoverability of content.

Expand Down Expand Up @@ -62,22 +64,28 @@ methods.
Including In Your Project
-------------------------

Android-ViewPagerIndicator is presented as an [Android library project][7]. A
The new version of Android-ViewPagerIndicator in [my branch][11] is presented as an [Android library project][7]. A
standalone JAR is not possible due to the theming capabilities offered by the
indicator widgets.

You can include this project by [referencing it as a library project][8] in
Eclipse or ant.
You can include this project by [referencing it as a aar file][7] in gradle.

If you are a Maven user you can easily include the library by specifying it as
If you are a Gradle user you can easily include the library by specifying it as
a dependency:

<dependency>
<groupId>com.viewpagerindicator</groupId>
<artifactId>library</artifactId>
<version>2.4.1</version>
<type>apklib</type>
</dependency>
compile 'com.githang:viewpagerindicator:2.5.1'


For SNAPSHOT version, you need to declare oss-snapshot-local repository at first:

maven { url "http://oss.jfrog.org/oss-snapshot-local/" }

Then include it into your build.gradle:

compile 'com.githang:viewpagerindicator:2.5-SNAPSHOT@aar'

Note: Use snapshot repository may slow down the speed of gradle resolving dependencies if you use android support library.


This project depends on the `ViewPager` class which is available in the
[Android Support Library][2] or [ActionBarSherlock][3]. Details for
Expand Down Expand Up @@ -134,7 +142,8 @@ License
[4]: https://github.com/pakerfeldt/android-viewflow
[5]: https://github.com/franciscojunior
[6]: https://gist.github.com/1122947
[7]: http://developer.android.com/guide/developing/projects/projects-eclipse.html
[8]: http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject
[7]: http://tools.android.com/tech-docs/new-build-system/aar-format
[9]: https://raw.github.com/JakeWharton/Android-ViewPagerIndicator/master/sample/screens.png
[10]: https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
[11]: https://github.com/msdx/ViewPagerIndicator/tree/msdx
[12]: https://bintray.com/msdx/maven/ViewPagerIndicator/_latestVersion
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
}

allprojects {
repositories {
mavenCentral()
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Thu Jan 05 16:46:28 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
164 changes: 164 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 90 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions library/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
9 changes: 0 additions & 9 deletions library/AndroidManifest.xml

This file was deleted.

Loading