All Projects → cheekiat → SlideToUnlock

cheekiat / SlideToUnlock

Licence: other
No description or website provided.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to SlideToUnlock

Slideimageview
Simple and convenient library that allows you to slide images through a view.
Stars: ✭ 227 (+1521.43%)
Mutual labels:  slide
company-introduction-jp
日本の会社紹介スライドのまとめです。
Stars: ✭ 49 (+250%)
Mutual labels:  slide
KeePassQuickUnlock
KeePass 2.x plugin which lets you unlock databases quickly.
Stars: ✭ 121 (+764.29%)
Mutual labels:  unlock
Slideovercard
A SwiftUI card view, made great for setup interactions.
Stars: ✭ 228 (+1528.57%)
Mutual labels:  slide
Slide
Slide is an open-source, ad-free Reddit browser for Android.
Stars: ✭ 1,733 (+12278.57%)
Mutual labels:  slide
python4selftrackers
Presentations on Quantified Self and Self-Tracking with Python
Stars: ✭ 26 (+85.71%)
Mutual labels:  slide
Androidpilelayout
An abnormal horizontal ListView-like pile layout with stretch and contraction effects.
Stars: ✭ 2,104 (+14928.57%)
Mutual labels:  slide
mm.angular-fullpage.js
Angular directive for use the jQuery fullPage.js library on Angular.js v1.x
Stars: ✭ 17 (+21.43%)
Mutual labels:  slide
promise-yes
Slide about how to use Promise in JavaScript.
Stars: ✭ 13 (-7.14%)
Mutual labels:  slide
android-lecture
android lecture notes
Stars: ✭ 25 (+78.57%)
Mutual labels:  slide
RNSlidingButton
React Native Button component which support Slide event to perform action.
Stars: ✭ 19 (+35.71%)
Mutual labels:  slide
Rmarkdown tutorial
Reproducible Research with Rmarkdown: data management, analysis, and reporting all-in-one
Stars: ✭ 18 (+28.57%)
Mutual labels:  slide
tweenslideshow
A simple slideshow using Tweenmax
Stars: ✭ 34 (+142.86%)
Mutual labels:  slide
Nuka Carousel
Pure React Carousel Component
Stars: ✭ 2,607 (+18521.43%)
Mutual labels:  slide
channel9
Channel9 PowerShell scripts to download Powerpoint Slides and videos
Stars: ✭ 19 (+35.71%)
Mutual labels:  slide
Vue Infinite Slide Bar
∞ Infinite slide bar component (no dependency and light weight 1.48 KB)
Stars: ✭ 190 (+1257.14%)
Mutual labels:  slide
ng2-carouselamos
Simple carousel/slider for angular 2.
Stars: ✭ 39 (+178.57%)
Mutual labels:  slide
Slide-iOS
A powerful new way to Reddit on iOS.
Stars: ✭ 461 (+3192.86%)
Mutual labels:  slide
resumify
Capture screenshot and make PDF on your HTML presentation.
Stars: ✭ 28 (+100%)
Mutual labels:  slide
MediumUnlimited
Android App written with Flutter/Dart to navigate medium.com without limitations.
Stars: ✭ 28 (+100%)
Mutual labels:  unlock

Slide To Unlock

License Download

This library can fast and easy develop slide to unlock function.

  • Slide icon and background can support image, shape and color code

ScreenShot

ScreenShot

Java Code

   SlideView mSlideView = (SlideView) findViewById(R.id.slide_view);

    mSlideView.setOnChangeListener(new OnChangeListener(){

        @Override
        public void onProgressChanged(int progress) {
             //Show progress 0 ~ 100
        }

        @Override
        public void onComplete() {
            Toast.makeText(MainActivity.this,"Complete!",Toast.LENGTH_SHORT).show();
        }
    });

Xml Code

   <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].