Skip to content

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

License

Notifications You must be signed in to change notification settings

SundeepK/ProgressButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24f66dd · May 4, 2014

History

8 Commits
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
May 4, 2014
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013
Nov 24, 2013

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:

<RelativeLayout xmlns: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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages