Devlight/SlideImageView
关于
Simple and convenient library that allows you to slide images through a view.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文SlideImageView
Simple and convenient library that allows you to slide images through a view.
You can check the sample app here.
Warn
This library is not more supported.
If you want to add new feature or fix a bug, grab source code and do it.
If you think your fix or feature would be useful to other developers,
I can add link of your repository to this README file.
Thank you for using our libraries.
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
探索相关项目
加载中…