收到“错误:解析 XML 时出错:未绑定前缀”在 xml 文件中
我知道其他人问过这个问题,但我已按照他们的指示进行操作,但仍然收到相同的错误消息。这是补间动画的 xml 文件:
<?xml version="1.0" encoding="utf-8"?>
<set>
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="2500">
</alpha>
</set>
任何帮助都会很棒。提前致谢。
摩西
I understand others have asked this but I have followed their instructions but still get the same error message. Here is the xml file for tweened animation:
<?xml version="1.0" encoding="utf-8"?>
<set>
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="2500">
</alpha>
</set>
Any help would be great. Thanks in advance.
Moses
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的标签有问题。您已关闭
标记,但未包含代码的xmlns:
部分You have an issue at the tag. You have closed the
<Set>
tag without includingxmlns:
part of the code您的 XML 在语法上无效。也许你的意思是这样的?
Your XML is syntactically invalid. Maybe you meant something like this?