Some loading GIF .
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gifloadinglibrary commit May 10, 2016
gradle/wrapper Initial commit Apr 29, 2016
sample
.gitignore commit Apr 29, 2016
README.md
build.gradle
gradle.properties Initial commit Apr 29, 2016
gradlew
gradlew.bat Initial commit Apr 29, 2016
settings.gradle Initial commit Apr 29, 2016

README.md

Android GifLoadingView

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

I like all the animation in that webpage , but it's so hard to develop all of them .

Finally , i find this way , it's simple , but it work perfect.

Look like

Season one

Idea from Link .








Season two

Idea from Link .















Season Three

Idea from Link .








..as you see right now,wish you like it.

Step

Import this project into android studio..it's build with it.

Usage

Gradle

compile 'com.roger.gifloadinglibrary:gifloadinglibrary:1.0.0'

config in java code

private GifLoadingView mGifLoadingView;


@Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    
    mGifLoadingView = new GifLoadingView();
    findViewById(R.id.button).setOnClickListener(
            new View.OnClickListener() {
                @Override public void onClick(View v) {

                    mGifLoadingView.setImageResource(R.drawable.image);
      				mGifLoadingView.show(getFragmentManager(), "");

                }
            });
}

Dependencies

This project use this libraries ~ Thanks to them.

android-gif-drawable
BlurDialogFragment

TODO

This view is adjust in Nexue5 but not test in the other size screen .

About me

A small guy in mainland FUJIAN China.

If you have any new idea 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.