Git Product home page Git Product logo

animatedloadingindicator's Introduction

AnimatedLoadingIndicator

AnimatedLoadingIndicator is a animated Progress Dialog Which you can easily implemented in your Android Code.

Demo

AnimatedLoadingIndicator

Usage

Step 1 : Add "AnimatedLoadingIndicator" to your Android project.

1- Open your project in Android Studio. 2- Download the library (using Git Link ---> https://github.com/yash786agg/AnimatedLoadingIndicator.git) or (Download a zip File archive to unzip)

3- Create a folder "AnimatedLoadingIndicator" in your project. 4- Copy and paste the Code to your AnimatedLoadingIndicator folder 5- On the root of your project directory create/modify the settings.gradle file. It should contain something like the following:

  include 'MyApp', ':AnimatedLoadingIndicator'

6- Go to File > Project Structure > Modules. 7- App > Dependencies. 8- Click on the more on the left green "+" button > Module dependency. 9- Select "AnimatedLoadingIndicator Library".

Step 2 : Add Code to your Project

    Dialog progressDialog = new Dialog(this);
    progressDialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
    progressDialog.setContentView(R.layout.custom_dialog_progress);
    progressDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
    progressDialog.setCancelable(false);

    progressDialog.show();
    
    /*
     * To Dismiss or Cancel the ProgressDialog use.
     *
     *  if(progressDialog != null)
                    {
                        progressDialog.cancel();
                        progressDialog.hide();
                    }
      */

animatedloadingindicator's People

Contributors

yash123482 avatar yash786agg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.