Skip to content

syedowaisali/crystal-viewpager

Repository files navigation

Download Android Arsenal

Crystal ViewPager

An extended transition of android ViewPager.

alt tag

Usage

Add a dependency to your build.gradle:

dependencies {
    compile 'com.crystal:crystalviewpager:1.0.0'
}

Sample usage

Add the CrystalPreloader to your layout:

<com.crystalviewpager.widgets.CrystalViewPager
        android:id="@+id/viewPager"
        android:layout_width="match_parent"
        android:layout_height="200dp"
        app:ctl_vp_transition="accordion" />

Transitions

Attribute Default Description Options
ctl_vp_transition no style Apply different transition. default_transition, accordion, front_to_back, back_to_front, cube_down, cube_out, depth_page, flip_horizontal, flip_vertical, parallax_page, rotate_down, rotate_up, stack, tablet, zoom_in, zoom_out, zoom_out_side

LICENSE

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.

##Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages