Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirhart/ParallaxScroll
Parallax ScrollView and ListView for Android
https://github.com/nirhart/ParallaxScroll
Last synced: about 6 hours ago
JSON representation
Parallax ScrollView and ListView for Android
- Host: GitHub
- URL: https://github.com/nirhart/ParallaxScroll
- Owner: nirhart
- License: mit
- Created: 2014-03-08T15:33:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-22T08:25:48.000Z (almost 7 years ago)
- Last Synced: 2023-11-07T14:32:07.321Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 679 KB
- Stars: 848
- Watchers: 33
- Forks: 190
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-ui - https://github.com/nirhart/ParallaxScroll
- awesome-android-ui - https://github.com/nirhart/ParallaxScroll
README
Parallax Scrolls
================
# Parallax ListView and ScrollView for Android## This project includes
* ScrollView with one or more parallaxed views
* ListView with parallaxed header
* Complete parallaxed ListView
* ExpandableListView with parallaxed header
* Complete parallaxed ExpandableListView
* Support Android 1.6 and above## Usage
### See demo app for best practice - https://play.google.com/store/apps/details?id=com.nirhart.parallaxscrollexample
* parallax_factor - For ScrollView and ListView, the first view's parallax factor
* inner_parallax_factor - For ScrollView only - the parallax factor between each view and view
* parallax_views_num - For ScrollView only - the number of parallaxed views
* circular_parallax - For ListView only - whether all of the list is parallaxed or not## Maven repository access
### In the build.gradle (at the module level) add the new dependency:
```
compile 'com.github.nirhart:parallaxscroll:1.0'
```or look for it using Android Studio module dependencies
### Example ParallaxScroll Usage
```xml
```
## Building
### Using gradle to build.
This project uses the gradle wrapper to build the library and example app
#### assemble the library
`./gradlew :ParallaxScroll:assembleDebug`
#### install the example
`./gradlew :ParallaxScrollExample:installDebug`
*note:* on windows use `gradlew.bat` instead of `./gradlew`