CatLoadingView
Rogero0o
969
Visit GitHub Repo
Progress Indicators

Android CatLoadingView

This project idea is from Link.
Thanks for the idea.

I like the animation in this picture:

...as you see it right now, I hope you like it!

Step

Import this project into Android Studio... it's built with it.

Usage

Gradle

implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.4'

config in java code

CatLoadingView mView;


@Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    
    mView = new CatLoadingView();
    findViewById(R.id.button).setOnClickListener(
            new View.OnClickListener() {
                @Override public void onClick(View v) {
                    mView.show(getSupportFragmentManager(), "");
                }
            });
}

Set Background Color

	mView.setBackgroundColor(Color.parseColor("#000000"));

TODO

This view is adjusted in Nexus5 but not tested on other screen sizes.

About me

A small guy in Fujian, mainland China.

If you have any new ideas about this project, feel free to tell me. Tks. ????

License

The MIT License (MIT)

Copyright © 2015 Roger

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Android Arsenal

Become Pro in Android by watching videos

OUR LEARNERS WORK AT