PasswordLoadingView - 当完成密码输入时提供一个动画

jopen 9年前

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