如何在 android 启动画面中使用带有动画 taf 的 SVG 文件

How to use a SVG file with animate taf in android Splash Screen

我有一个包含动画标签的 svg 文件,用于网页中的动画。

我尝试将文件导入 Android Studio,但不支持动画标签。

我尝试寻找库,但我找到的所有库都只有使用路径数据绘制 svg 文件的功能。我的动画不仅仅是绘制路径。我想完全按照网页中的动画制作动画。

我在一些帖子中看到AnimatedVectorDrawable可以使用,但是在文档中说它可以用于将一种形状转换为另一种形状。我不想那样。

我有动画开始的 svg 文件。如果我能想出在android中使用它的方法,我的团队就准备好以相同的格式准备整个动画了。

由于字数限制,我无法上传完整文件,但我删除了部分 svg 文件并上传了。

 <?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="750px"
     height="750px" viewBox="0 0 750 750" enable-background="new 0 0 750 750" xml:space="preserve">
<g id="Layer_1">

        <image overflow="visible" width="102" height="157" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAACdCAYAAAExjT0uAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAK
T2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AU
kSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXX
Pues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgAB
eNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAt
AGAnf+bTAICd+Jl7AQBblCEVAaC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T/bEvI9fnS2gP5HE
s8VxvJyX0nO4RYoII5Vq13Olyg0zvbEpO6MZ6HEFrnIkQGZGUrEVMCLGy7rWuC7X/pev7e7/66Pl
qV9d1bTmDiM0ZrWEJgvO7fqWEgWaKmQxRc72s3
Fjo+8EK5Uk0qa93lXSlgOt3oBJOIELJJnPWrbzWaMdCW+pd3Dm7+8GQ9CI9VJqDXAVlZYDpcFwDg
SInfjJ27OWnbf7Uxlf7067v6kbQsjPq19V1ahbU+a3mNrvWRvmt0/f8AzPzlCkGC41sAAAAASUVO
RK5CYII=" transform="matrix(0.72 0 0 0.72 338 318)">

    </image>

    <animate id="Layer_1"
             attributeName="opacity"
             from="0" to="1" dur="1s"
             begin="0s;animation2.end" />
    <animate id="Layer_1"
             attributeName="opacity"
             from="1" to="0" dur="1s" 
             begin="animation1.end" />

</g>

<g id="Layer_2" opacity="0">

        <image overflow="visible" width="138"  height="184" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAC4CAYAAAFLMkRUAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAK
T2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AU
kSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXX
Pues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgAB
eNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAt
AGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3
AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dX
Lh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA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NCAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgIDwvcmRm
OmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAg
ICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAg
ICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjM5YjMxN2U0LWFlNDktYjA0YS1i
NmM0LTFjZWJlNTJkYjcyZjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0
RXZ0OndoZW4+MjAxNC0xMi0wNFQxNzoxMzoxNCswNTozMDwvc3RFdnQ6d2hlbj4KICAgICAgICAg
ICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdp
bmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hh
s10vf23n7954x9T0vgGEAI7rQUIi6LMiBaOGbyGEPvnzO1dH1CPLUlDWPlg6/60Py541Df38Xr/L
+NoO1xMwNO5ePDbvofy8ET+79PPjyud+8yqVgQwGUNY8sPXe98vK11uG0et6iCcFhJDQNY68YcGt
V0wY/2+u6x6+a+lclYEMxmB26eaHdh47EVlgdCvXS5Ka+kpIxFwXGmfIy815fljALi78fME7d3xn
mqumfpCD8tz/vEUff2HfofbOzq8wSpKVESklHNcDpRQh23rrkovG/otl6Ps3rlzQoaZ5iLmefe8d
1v/9uT3VnhA5Ukp4QsI2zY8K8oZvmjB27K/W3TyzTU3pELco9+98MX//wQ8OjR6eu/HLF4/7j3+Y
P6tOTZ8CRUkpRercYyUFipICRUmBopSJ+v8BAN+fiyUrEY21AAAAAElFTkSuQmCC" transform="matrix(0.72 0 0 0.72 288.3198 279)">

    </image>

    <animate id="Layer_2"
             attributeName="opacity"
             from="0" to="1" dur="2s" 
             begin="1s" fill="freeze"/>
    </g>

</svg>

您的 SVG 文件中似乎有 .png 个图像,而不是矢量。因此,您可以尝试将 png 图像拆分为多个单独的 ImageView 并为这些 ImageView 应用动画。