SlideImageView
Simple and convenient library that allows you to slide images through a view.
You can check the sample app here.
Download
You can download a .aar
from GitHub's releases page.
Or use Gradle jCenter:
dependencies {
repositories {
mavenCentral()
maven {
url 'http://dl.bintray.com/gigamole/maven/'
}
}
compile 'com.github.gigamole.slideimageview:library:+'
}
Or Gradle Maven Central:
compile 'com.github.gigamole.slideimageview:library:1.1.4'
Or Maven:
<dependency>
<groupId>com.github.gigamole.slideimageview</groupId>
<artifactId>library</artifactId>
<version>1.1.4</version>
<type>aar</type> </dependency>
Android SDK Version
SlideImageView
requires a minimum sdk version of 8.
Sample
Parameters
You can set such parameters as:
- source
- axis (
HORIZONTAL
|VERTICAL
) - rate
Init
Check out in code init:
final SlideImageView slideImageView = (SlideImageView) findViewById(R.id.img_horizontal_slide);
slideImageView.setSource(R.drawable.wide_background);
slideImageView.setRate(0.3f);
slideImageView.setAxis(SlideImageView.Axis.HORIZONTAL);
And XML init:
<devlight.io.library.SlideImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:siv_source="@drawable/long_background"
app:siv_axis="vertical"
app:siv_rate="2.0"/>
Getting Help
To report a specific problem or feature request, open a new issue on Github.
Author
Created by Basil Miller - @gigamole
Company
Here you can see open source work developed by Devlight LLC.
This and another works is an exclusive property of Devlight LLC.
If you want to use this library in applications which will be available on Google Play, please report us or author of the library about it.
Whether you're searching for a new partner or trusted team for creating your new great product we are always ready to start work with you.
You can contact us: [email protected] or [email protected].
Thanks in advance.
Devlight LLC, 2016
devlight.io