PasswordLoadingView - 當完成密碼輸入時提供一個動畫

jopen 8年前發布 | 8K 次閱讀 Android開發 移動開發

PasswordLoadingView

PasswordLoadingView - 當完成密碼輸入時提供一個動畫。

Looks like

Usage

Jcenter

gradle

compile 'com.roger.psdloadingview.library:Library:1.0.1'

Config in xml

<com.roger.psdloadingview.library.PsdLoadingView
            android:id="@+id/psdloadingview"
            android:hint="Please input password"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

and init in java code

PsdLoadingView psd = (PsdLoadingView) findViewById(R.id.psdloadingview);
    psd.init(new TranslationXAnimate());
    psd.startLoading();

Warning

If you have to getText during the animation , you should use psd.getTextDuringLoading() instead of psd.getText().

About me

A small guy in mainland FUJIAN China.

If you have any new idea about this project, feel free to tell me ,Tks. :smiley:

項目地址: https://github.com/Rogero0o/PasswordLoadingView

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!