英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论