Android的:如何创建谷歌加登录动画? [英] Android: How to create the Google Plus login animation?
问题描述
有谁知道如何创建一个类似的动画在谷歌加Android应用程序使用的登录动画?
Does anyone know how to create a similar animation to the login animation used in the Google Plus Android app?
有没有在Android SDK中,我可以使用类似的东西?或者我应该从头开始建立呢?我特别感兴趣的事实,模态动画背后的UI是灰色和残疾人。
Is there something similar in the Android SDK that I can use? Or should I just build it from scratch? I'm interested especially in the fact that the UI behind the modal animation is dimmed and disabled.
感谢您。
推荐答案
您服用有关进度对话框纺纱啄,上面写着登录?这不是一个自定义动画可言,这是一个常见的小部件。
Are you taking about that progress dialog spinning thingy that says "signing in"? That's not a custom animation at all, it's a common widget.
这里的code:
ProgressDialog progressDialog = new ProgressDialog(this);
progressDialog.setMessage("Signing in...");
progressDialog.show();
//... complete sign in...then
progressDialog.dismiss();
一个ProgressDialog做这种方式,自动进行亮度调节的保健/模糊的背景。你应该了解的对话: http://developer.android.com/guide/专题/ UI / dialogs.html
A ProgressDialog done this way, automatically takes care of dimming/blurring the background. You should really read about dialogs: http://developer.android.com/guide/topics/ui/dialogs.html
这篇关于Android的:如何创建谷歌加登录动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!