Bit of a megapatch that: - Adds dedicated play, shuffle, and view items to all item menus (songs haven't been fully implemented yet) - Adds icons to all item menus - Re-adds enabled/disabled items to menus - Makes menu action naming conventions more consistent with the rest of the app
67 lines
2.7 KiB
XML
67 lines
2.7 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="108dp"
|
|
android:height="108dp"
|
|
android:viewportWidth="108"
|
|
android:viewportHeight="108">
|
|
<group android:name="bg">
|
|
<path
|
|
android:fillColor="@color/fill_icon_bg"
|
|
android:pathData="M0 0h108v108H0z"
|
|
android:strokeColor="#00000000" />
|
|
</group>
|
|
<group
|
|
android:scaleX="2.835"
|
|
android:scaleY="2.835"
|
|
android:translateX="19.98"
|
|
android:translateY="19.98">
|
|
<path
|
|
android:name="note"
|
|
android:fillColor="@android:color/transparent"
|
|
android:pathData="M13 4l4 4m-4-4v13m0 0l-3 3-3-3 3-3"
|
|
android:strokeWidth="2"
|
|
android:strokeColor="@android:color/white"
|
|
android:strokeLineCap="round"
|
|
android:strokeLineJoin="round" />
|
|
</group>
|
|
</vector>
|
|
</aapt:attr>
|
|
<target android:name="bg">
|
|
<aapt:attr name="android:animation">
|
|
<set>
|
|
<objectAnimator
|
|
android:duration="1000"
|
|
android:interpolator="@android:interpolator/fast_out_slow_in"
|
|
android:propertyName="scaleX"
|
|
android:startOffset="0"
|
|
android:valueFrom="4"
|
|
android:valueTo="1"
|
|
android:valueType="floatType" />
|
|
<objectAnimator
|
|
android:duration="1000"
|
|
android:interpolator="@android:interpolator/fast_out_slow_in"
|
|
android:propertyName="scaleY"
|
|
android:startOffset="0"
|
|
android:valueFrom="4"
|
|
android:valueTo="1"
|
|
android:valueType="floatType" />
|
|
</set>
|
|
</aapt:attr>
|
|
</target>
|
|
<target android:name="note">
|
|
<aapt:attr name="android:animation">
|
|
<set>
|
|
<objectAnimator
|
|
android:duration="1000"
|
|
android:interpolator="@android:interpolator/fast_out_slow_in"
|
|
android:propertyName="strokeWidth"
|
|
android:startOffset="0"
|
|
android:valueFrom="0"
|
|
android:valueTo="2"
|
|
android:valueType="floatType" />
|
|
</set>
|
|
</aapt:attr>
|
|
</target>
|
|
</animated-vector> |