Created
November 14, 2018 22:49
-
-
Save alexjlockwood/a02095517e21baba00c555aaaff6e074 to your computer and use it in GitHub Desktop.
This AVD works...???!?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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:height="300dp" | |
android:width="300dp" | |
android:viewportHeight="24" | |
android:viewportWidth="24"> | |
<clip-path android:name="clip" android:pathData="M 12 12 h 0 v 0 h 0 v 0 z"> | |
<path android:pathData="M 0 0 h 24 v 24 h -24 v -24 z" android:fillColor="#f00"/> | |
</clip-path> | |
</vector> | |
</aapt:attr> | |
<target android:name="clip"> | |
<aapt:attr name="android:animation"> | |
<objectAnimator | |
android:propertyName="pathData" | |
android:duration="2000" | |
android:valueFrom="M 12 12 h 0 v 0 h 0 v 0 z" | |
android:valueTo="M 0 0 h 24 v 24 h -24 v -24 z" | |
android:valueType="pathType"/> | |
</aapt:attr> | |
</target> | |
</animated-vector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment