<commit_before>The Parallax Pager
==================

Add some depth to your Android scrolling.

![](http://prolificinteractive.com/blog/wp-content/uploads/2014/04/parallax_planet_demo.gif)

Download
========

Use Gradle to grab the dependency from Maven Central:

>dependencies {
>  compile 'com.prolificinteractive:parallaxpager:0.7'
>}

Installation
============

There are 3 important steps:

1. Use a `ParallaxContainer` in layout XML

2. Create a layout XML file for each page

3. Add the attachment code to `onCreate` of your Activity

1. Use a `ParallaxContainer` in layout XML
------------------------------------------

Use the class `com.prolific.parallaxview.ParallaxContainer` in your layout XML, sizing it however you like.

Ex:

```xml
<com.prolific.parallaxview.ParallaxContainer
      android:id="@+id/parallax_container_1"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
```<commit_msg>gradle dependency in readme<commit_after>The Parallax Pager
==================

Add some depth to your Android scrolling.

![](http://prolificinteractive.com/blog/wp-content/uploads/2014/04/parallax_planet_demo.gif)

Download
========

Use Gradle to grab the dependency from Maven Central:

```groovy
compile 'com.prolificinteractive:parallaxpager:0.7'
```

Installation
============

There are 3 important steps:

1. Use a `ParallaxContainer` in layout XML

2. Create a layout XML file for each page

3. Add the attachment code to `onCreate` of your Activity

1. Use a `ParallaxContainer` in layout XML
------------------------------------------

Use the class `com.prolific.parallaxview.ParallaxContainer` in your layout XML, sizing it however you like.

Ex:

```xml
<com.prolific.parallaxview.ParallaxContainer
      android:id="@+id/parallax_container_1"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
```
{'fraction_non_alphanumeric': 0.16772486772486772, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 3.963254593175853, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3413510', 'n_tokens_mistral': 609, 'n_tokens_neox': 575, 'n_words': 167}