<cheekiat.slideview.SlideView
android:id="@+id/slide_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:slideBackground="@drawable/orangesquarebutton"
app:slideSrc="@drawable/slide_image"
app:slideText="Slide to unlock"
/>
How to use?
Java
Public methods
Description
reset()
Reset the slide button.
setOnFinishListener()
Add slide success listener.
Xml
XML attributes
Description
app:slideBackground
Set slide background resource.
app:slideSrc
Set slide icon resource.
app:slideText
Set slide layout text.
app:slideTextColor
Set slide layout text color.
app:slideTextSize
Set slide layout text size.
app:slideSuccessPercent
When slide more than your set value will animation to success.
app:duration
Set slide icon moveing duration.
app:slideSrcMarginTop
Set slide icon margin top.
app:slideSrcMarginRight
Set slide icon resource right.
app:slideSrcMarginBottom
Set slide icon resource bottom.
app:slideSrcMarginLeft
Set slide icon resource left.
Download
repositories {
mavenCentral() // jcenter() works as well because it pulls from Maven Central
}
dependencies {
implementation 'com.cheekiat:slideview:1.6'
}
Features
If you've experienced any Bug. Please let me know, thanks.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].