Android Splash screen animation – import Splash Animated Vector Drawable (AVD) XML example to Android Studio

huangapple go评论44阅读模式
英文:

Android Splash screen animation - import Splash Animated Vector Drawable (AVD) XML example to Android Studio

问题

我应用和使用从谷歌提供的示例入门套件下载到Android Studio的AVD XML文件,该文件可以从以下链接下载:https://developer.android.com/develop/ui/views/launch/splash-screen#splash-screen-resources。

英文:

How do I import and use the AVD XML file from the example starter kit provided by google to Android Studio which can be downloaded here:

https://developer.android.com/develop/ui/views/launch/splash-screen#splash-screen-resources

答案1

得分: 1

只需将news_avd_v02.xml文件复制粘贴到您的drawable目录中,然后双击打开它。
现在,您将看到顶部的注释,您需要将其删除,否则它将显示错误。

这样做后,您将在avd预览底部看到3个按钮。只需点击中间的播放按钮,查看动画效果。

英文:

Just copy-paste the news_avd_v02.xml file into your drawable directory, then open it with double click.
Now, you'll see the comment on top which you will have to remove, otherwise it will show you the error.

After doing so, you'll see 3 buttons at the bottom of the avd preview. Simply check how the animation will look by hitting the Play button in the middle.

huangapple
  • 本文由 发表于 2023年2月7日 03:10:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/75365602.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定