parallaxviewpager alternatives and similar packages
Based on the "ViewPager Widget" category.
Alternatively, view parallaxviewpager alternatives based on common mentions on social networks and blogs.
-
Android-ViewPagerIndicator
Paging indicator widgets compatible with the ViewPager from the Android Support Library and ActionBarSherlock. Originally based on Patrik Åkerfeldt's ViewFlow. -
SCViewPager
A simple keyframe-based animation framework for UIKit. Perfect for scrolling app intros. -
WoWoViewPager
Combine ViewPager and Animations to provide a simple way to create applications' guide pages. -
SpringIndicator
A spring indicator like Morning Routine guide. -
android-auto-scroll-view-pager
Android auto scroll viewpager or viewpager in viewpager -
Onboarding
A beautiful way to introduce users to your app -
HollyViewPager
A different beautiful ViewPager, with quick swipe controls -
LoopingViewPager
An android ViewPager extension allowing infinite scrolling -
MultiViewPager
The MultiViewPager is an extension of the support-v4 library's ViewPager that allows the pages to be wider or narrower than the ViewPager itself. It takes care of aligning the pages next to each other, and always keeping the selected page centered. -
InfiniteViewPager
Augment Android's ViewPager with wrap-around functionality. -
FlycoPageIndicator
A Page Indicator Lib is realized in a different way. -
VerticalViewPager
Vertical implementation of Android ViewPager -
ViewPager3D
Extension of Android ViewPager with a 3D swipe effect -
NumericPageIndicator
Android - A ViewPager page indicator that displays the current page number and (optionally) the page count -
ViewPagerExtensions
A set of custom views for the ViewPager from the Android Support Package -
glazy-viewpager
Android ViewPager template with cool animation. -
Android-ScreenSlidePager
Pager (especially for ViewPager) indicator in two styles: circle & fraction. -
LastPagerAdapter
Don't write a ViewPager Adapter! Hook up your ViewPager to your data model using Android Data Binding Framework. With Kotlin support! -
Sliding Tab With Color Icons
Library for Sliding Tab With Color Icons!
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of parallaxviewpager or a related project?
README
ParallaxViewPager
An easy-to-use ViewPager subclass with parallax background.
Setup requires little extra effort, using the ParallaxViewPager is just like using a standard ViewPager, with the same adapter. Of course, there's no silver bullet - the developer has to supply a background tailored to the current needs (eg. the number of items in the adapter and the size of the ViewPager). Check out this gif and this blog post to see what it's all about.
- Include it in your project as a Gradle dependency:
dependencies { compile 'com.andraskindler.parallaxviewpager:parallaxviewpager:0.3.1' }
Create a ParallaxViewPager programmatically or in a layout xml.
Set the background via xml or one of the following methods:
- setBackgroundResource(int resid)
- setBackground(Drawable background) or setBackgroundDrawable(Drawable background)
- setBackground(Bitmap bitmap)
(Optional) Specify how the view should scale the background with the setScaleType(final int scaleType) method. Choose from the following parameters:
- FIT_HEIGHT means the height of the image is resized to matched the height of the View, also stretching the width to keep the aspect ratio. The non-visible part of the bitmap is divided into equal parts, each of them sliding in at the proper position. This is the default value.
- FIT_WIDTH means the width of the background image is divided into equal chunks, each taking up the whole width of the screen. This mode is not the usual parallax-effect, as the speed of the background scrolling equals the speed of the views.
(Optional) Set the amount of overlapping with the setOverlapPercentage(final float percentage) method. This is a number between 0 and 1, the smaller it is, the slower is the background scrolling. The default value is 50 percent. This only works with FIT_HEIGHT.
An example, inside the onCreate() of an activity:
//...
final ParallaxViewPager parallaxViewPager = new ParallaxViewPager(this);
parallaxViewPager.setAdapter(new MyPagerAdapter());
parallaxViewPager.setBackgroundResource(R.drawable.nagy);
setContentView(parallaxViewPager);
//...
Other notices
The lowest supported API level is 14 (Ice Cream Sandwich)
By Andras Kindler ([email protected])
License
Copyright 2013 Andras Kindler
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.
*Note that all licence references and agreements mentioned in the parallaxviewpager README section above
are relevant to that project's source code only.