-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
68 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,18 @@ Onboarding library for android with Gradient, Image or Solid color backgrounds. | |
|
||
![](preview/preview.gif) | ||
|
||
##Installation | ||
## Installation | ||
|
||
###Gradle | ||
### Gradle | ||
Add it as a dependency in your app's build.gradle file | ||
|
||
```groovy | ||
dependencies { | ||
compile 'com.codemybrainsout.onboarding:onboarder:1.0.3' | ||
compile 'com.codemybrainsout.onboarding:onboarder:1.0.4' | ||
} | ||
``` | ||
|
||
##How to use | ||
## How to use | ||
|
||
**First of all, you will have to extend your activity like this** | ||
|
||
|
@@ -46,7 +46,7 @@ pages.add(ahoyOnboarderCard3); | |
setOnboardPages(pages); | ||
``` | ||
|
||
###Choose from one of these three background types | ||
### Choose from one of these three background types | ||
|
||
- **Gradient Background** | ||
```java | ||
|
@@ -84,11 +84,11 @@ Typeface face = Typeface.createFromAsset(getAssets(), "fonts/Roboto-Light.ttf"); | |
setFont(face); | ||
``` | ||
|
||
###Landscape mode | ||
### Landscape mode | ||
|
||
![](preview/preview-landscape.png) | ||
|
||
###Other properties | ||
### Other properties | ||
```java | ||
|
||
//Show/Hide navigation controls | ||
|
@@ -105,24 +105,24 @@ setFinishButtonTitle("Get Started"); | |
setFinishButtonDrawableStyle(ContextCompat.getDrawable(this, R.drawable.rounded_button)); | ||
``` | ||
|
||
##Thanks | ||
## Thanks | ||
* [dynamitechetan/Flowing-Gradient](https://github.com/dynamitechetan/Flowing-Gradient) | ||
* [chyrta/AndroidOnboarder](https://github.com/chyrta/AndroidOnboarder) | ||
|
||
##Changelog | ||
## Changelog | ||
|
||
###v1.0.1 | ||
### v1.0.1 | ||
|
||
Landscape layout by [Maxwell](https://github.com/wax911) | ||
|
||
###v1.0.2 | ||
### v1.0.2 | ||
|
||
FinishButtonDrawableStyle by [Maxwell](https://github.com/wax911) | ||
|
||
##Support | ||
## Support | ||
If you've any questions regarding this library, please contact us at [email protected] | ||
|
||
##Credits | ||
## Credits | ||
|
||
This project was initiated by **Code My Brains Out**. You can contribute to this project by submitting issues or/and by forking this repo and sending a pull request. | ||
|
||
|
@@ -134,7 +134,7 @@ Follow us on: | |
|
||
Author: [Rahul Juneja](https://github.com/ahulr) | ||
|
||
#License | ||
# License | ||
``` | ||
Copyright (C) 2016 Code My Brains Out | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Fri Jun 02 15:39:20 IST 2017 | ||
#Fri Jul 28 19:57:08 IST 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 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters