Progress Image

Additional

Language
Java
Version
0.0.2 (Apr 18, 2017)
Created
Apr 10, 2017
Updated
Apr 22, 2017 (Retired)
Owner
Mohamed Mo'men (mmoamenn)
Contributors
fahimsakri
Mohamed Mo'men (mmoamenn)
2
Activity
Badge
Generate
Download
Source code

Advertisement

ProgressImage Android

ProgressImage is a Library for modern progress view style. Use any icon/image with progress view for your application

Samples :

Installation

Add it in your root build.gradle at the end of repositories:

allprojects {
 repositories {
  ...
  maven { url 'https://jitpack.io' }
 }
}

Step 2. Add the dependency

dependencies {
        compile 'com.github.mmoamenn:ProgressImage_Android:0.0.2'
}

XML

<com.bluehomestudio.progressimage.ProgressPicture
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/ic_action_name"
    ProgressPicture:animation="fade" />

You must use the following properties in your XML to change progress animation

ProgressPicture:animation

  • fade -> default
  • scale
  • rotate
  • rotate_x
  • rotate_y

JAVA

Functions to use after reference the ProgressPicture

  • startAnimation();
  • stopAnimation();
  • stopAnimationAndHide();