LibreTube/app/src/main/res/drawable/splash_anim.xml
2023-01-02 10:55:30 +01:00

44 lines
2.0 KiB
XML

<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:width="64dp"
android:height="64dp"
android:tint="?attr/colorSecondary"
android:viewportWidth="1280"
android:viewportHeight="1280">
<group
android:name="scaleGroup"
android:pivotX="640"
android:pivotY="640">
<path
android:fillColor="#000"
android:pathData="M1130.145 639.54c0-6.202-3.236-11.865-8.358-14.831L225.77 93.247c-15.64-9.168-35.324 2.157-35.324 20.493v229.194c0 8.629 4.584 16.449 11.864 20.762l446.525 255.619c15.91 9.169 15.91 32.358 0 41.525L202.31 916.46c-7.28 4.315-11.864 12.135-11.864 20.763v228.925c0 18.336 19.684 29.93 35.324 20.493l895.747-532.271c5.122-3.236 8.359-8.898 8.359-14.83h0.269Z"
android:strokeWidth="30"
android:strokeColor="#000" />
<path
android:fillColor="#000"
android:pathData="M373.802 625.518c11.325 6.471 11.325 22.92 0 29.391L174.807 769.507c-11.055 6.47-24.807-1.619-24.807-14.561V525.482c0-12.944 13.752-21.033 24.807-14.562l198.995 114.598Z" />
</group>
</vector>
</aapt:attr>
<target android:name="scaleGroup">
<aapt:attr name="android:animation">
<objectAnimator
android:duration="500"
android:propertyName="scaleX"
android:valueFrom="0.3"
android:valueTo="0.55" />
</aapt:attr>
</target>
<target android:name="scaleGroup">
<aapt:attr name="android:animation">
<objectAnimator
android:duration="500"
android:propertyName="scaleY"
android:valueFrom="0.3"
android:valueTo="0.55" />
</aapt:attr>
</target>
</animated-vector>