Rogero0o / GifLoadingView
- воскресенье, 1 мая 2016 г. в 03:12:45
Java
None
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.
..as you see right now,wish you like it.
Import this project into android studio..it's build with it.
I will upload this project to jcenter soon.
compile project(':gifloadinglibrary')
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(), "");
}
});
}
This project use this libraries ~ Thanks to them.
android-gif-drawable
BlurDialogFragment
This view is adjust in Nexue5 but not test in the other size screen .
A small guy in mainland FUJIAN China.
If you have any new idea about this project, feel free to tell me ,Tks.
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.