Skip to content

Repository files navigation

ProgressButton

Simple Android widget that display's a loading animation when a user clicks the button

ScreenShot

After user has clicked button:

ScreenShot

Layout code

Simply define a ProgressButton:

<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:paddingBottom="@dimen/activity_vertical_margin"android:paddingLeft="@dimen/activity_horizontal_margin"android:paddingRight="@dimen/activity_horizontal_margin"android:paddingTop="@dimen/activity_vertical_margin"tools:context=".MainActivity" >
<com.sun.progressbutton.ProgressButton
android:id="@+id/progressView"android:layout_width="match_parent"android:layout_height="wrap_content"android:clickable="true"android:padding="10dp"android:src="@drawable/progress_view"
/>
</RelativeLayout>

About

Simple Android widget that display a loading animation when a user clicks the button

Resources

Stars

43 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages