Home

Awesome

Android GifLoadingView

This project idea is from Link .<br> Thanks for the idea.<br>

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

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

Look like

Season one

Idea from Link .<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Season two

Idea from Link .<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Season Three

Idea from Link .<br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num66.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num67.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num68.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num69.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num70.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num71.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num72.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num73.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num74.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num75.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num76.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num77.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num78.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num79.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num80.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num81.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num82.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num83.gif" width="171" height="164" /> <br>

<img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num84.gif" width="171" height="164" /><img src="https://raw.githubusercontent.com/Rogero0o/GifLoadingView/master/sample/src/main/res/drawable-hdpi/num85.gif" width="171" height="164" /> <br>

..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.1.1'

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 <br> 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. :smiley:

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.