Android: Use vector icon and enable monochrome icon
This commit is contained in:
parent
cc3e6a11ac
commit
3814fab9ec
|
@ -2,16 +2,16 @@
|
||||||
android:viewportWidth="500" android:width="192dp"
|
android:viewportWidth="500" android:width="192dp"
|
||||||
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#0057AB" android:fillType="nonZero"
|
<path android:fillColor="#0057AB" android:fillType="nonZero"
|
||||||
android:pathData="M362.51,306.61C361.76,304.1 357.09,288.95 349.22,274.43C338.85,255.3 329.93,241.62 315.07,227.73C310.29,223.26 305.77,219.27 301.05,215.68L301.06,215.68C301.06,215.68 301.02,215.66 300.96,215.61C300.87,215.54 300.78,215.47 300.69,215.41C298.93,214.05 291.52,207.81 294.16,200.91C295.04,198.6 297.18,196.68 299.71,195.13L313.36,195.02L313.36,189.96L313.36,189.96C313.36,189.96 313.36,189.96 313.36,189.96C313.36,189.96 305.37,187.24 291.38,188.14C278.26,188.98 266.46,196.66 264.26,197.74C257.19,195.71 249.12,193.93 239.69,192.33C207.06,186.79 179.45,195.62 165.59,205.24C147.43,217.84 147.93,229.59 146.44,235.46C145.51,239.1 137.26,245.83 137.36,250.55L137.36,255.52L139.07,257.28L145.49,255.09L146.26,252.41C148.9,251.47 151.79,250.15 154.42,249.07C160.98,246.38 161.48,244.91 179.41,242.24C187.65,241.01 196.33,240.65 202.79,240.6C205.3,245.91 211.55,256.82 222.38,262.05C229.43,265.46 237.32,267.2 243.6,268.09L242.78,272.24L255.28,274.09L255.28,269.03L255.27,269.03C255.27,269.03 255.27,269.03 255.27,269.03C255.27,269.03 244.78,264.67 238.32,258.21C233.92,253.82 232.87,247.14 232.65,243.32L232.69,243.33C243.27,245.34 252.51,246.79 274.61,255.25C278.7,256.82 282.52,258.54 285.99,260.27L285.34,260.64L295.3,268.67L307.2,278.52L307.2,273.46L307.16,273.43C306.98,273.21 293.43,256.42 270.66,245.19C251.84,235.91 236.38,231.32 214.97,230.28C191.57,229.15 174.33,232.15 174.33,232.15C174.33,232.15 174.81,221.75 192.48,213.46C207.84,206.26 232.01,205.05 259.75,212.13C298.94,222.13 312.3,239.15 329.16,256.74C339.85,267.9 349.69,283.61 355.88,294.47L354.84,294L358.05,302.3L362.64,312.1L362.64,307.01L362.51,306.61z"
|
android:pathData="M344.28,301.46C343.6,299.18 339.35,285.41 332.2,272.21C322.77,254.81 314.66,242.38 301.16,229.75C296.81,225.69 292.7,222.06 288.41,218.8L288.42,218.8C288.42,218.8 288.38,218.78 288.32,218.73C288.24,218.67 288.16,218.61 288.08,218.55C286.48,217.32 279.75,211.64 282.15,205.38C282.95,203.28 284.89,201.53 287.19,200.12L299.6,200.02L299.6,195.42L299.6,195.42C299.6,195.42 299.6,195.42 299.6,195.42C299.6,195.42 292.33,192.95 279.62,193.77C267.69,194.53 256.97,201.51 254.96,202.49C248.54,200.65 241.2,199.03 232.63,197.57C202.97,192.54 177.86,200.56 165.27,209.3C148.76,220.76 149.21,231.44 147.85,236.78C147.01,240.09 139.51,246.21 139.6,250.5L139.6,255.02L141.15,256.61L146.99,254.63L147.69,252.19C150.09,251.34 152.72,250.14 155.11,249.16C161.07,246.71 161.53,245.37 177.82,242.94C185.32,241.82 193.21,241.5 199.08,241.45C201.37,246.28 207.05,256.2 216.89,260.96C223.3,264.05 230.47,265.64 236.18,266.45L235.43,270.22L246.8,271.9L246.8,267.3L246.79,267.3C246.79,267.3 246.79,267.3 246.79,267.3C246.79,267.3 237.25,263.34 231.38,257.47C227.38,253.47 226.43,247.4 226.23,243.93L226.26,243.93C235.88,245.76 244.28,247.08 264.38,254.78C268.09,256.2 271.56,257.76 274.72,259.34L274.12,259.67L283.18,266.98L294,275.93L294,271.33L293.96,271.3C293.8,271.1 281.48,255.84 260.78,245.63C243.67,237.19 229.62,233.02 210.16,232.07C188.88,231.04 173.21,233.77 173.21,233.77C173.21,233.77 173.64,224.32 189.71,216.79C203.67,210.23 225.65,209.14 250.86,215.57C286.49,224.66 298.64,240.14 313.96,256.13C323.69,266.27 332.62,280.55 338.26,290.43L337.31,290L340.23,297.54L344.4,306.45L344.4,301.82L344.28,301.46z"
|
||||||
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
||||||
android:strokeLineJoin="miter" android:strokeWidth="0.11"/>
|
android:strokeLineJoin="miter" android:strokeWidth="0.1"/>
|
||||||
<path android:fillType="nonZero"
|
<path android:fillType="nonZero"
|
||||||
android:pathData="M349.22,279.48C338.85,260.35 329.93,246.67 315.08,232.78C310.3,228.31 305.77,224.32 301.06,220.73L301.06,220.73C301.06,220.73 301.02,220.71 300.96,220.66C300.87,220.59 300.79,220.53 300.7,220.46C298.95,219.11 291.53,212.86 294.16,205.97C297.06,198.4 313.36,195.01 313.36,195.01C313.36,195.01 305.37,192.3 291.39,193.19C278.26,194.04 266.47,201.71 264.26,202.79C257.19,200.77 249.13,198.98 239.69,197.38C207.07,191.85 179.45,200.67 165.6,210.29C147.44,222.89 147.94,234.64 146.44,240.51C145.36,244.74 134.41,253.14 138.13,257.71C140.46,260.57 148.19,256.69 154.42,254.13C160.98,251.43 161.49,249.96 179.41,247.29C187.65,246.06 196.33,245.7 202.79,245.65C205.31,250.96 211.56,261.87 222.39,267.1C237.01,274.17 255.28,274.08 255.28,274.08C255.28,274.08 244.78,269.72 238.32,263.26C233.93,258.87 232.87,252.19 232.65,248.38L232.69,248.38C243.27,250.39 252.51,251.84 274.62,260.31C293.96,267.71 307.17,278.48 307.17,278.48C307.17,278.48 293.59,261.55 270.66,250.24C251.84,240.96 236.39,236.37 214.98,235.33C191.57,234.2 174.33,237.2 174.33,237.2C174.33,237.2 174.81,226.8 192.48,218.52C207.84,211.31 232.01,210.1 259.75,217.18C298.94,227.18 312.31,244.2 329.16,261.79C347.1,280.52 362.62,312.03 362.62,312.03C362.62,312.03 357.84,295.38 349.22,279.48z"
|
android:pathData="M332.2,276.8C322.77,259.41 314.67,246.97 301.16,234.34C296.82,230.28 292.7,226.65 288.41,223.39L288.42,223.39C288.42,223.39 288.39,223.37 288.32,223.32C288.25,223.27 288.17,223.21 288.09,223.15C286.5,221.92 279.75,216.24 282.15,209.97C284.78,203.09 299.6,200.01 299.6,200.01C299.6,200.01 292.34,197.54 279.62,198.36C267.69,199.12 256.97,206.1 254.96,207.08C248.54,205.24 241.21,203.62 232.63,202.17C202.97,197.13 177.87,205.15 165.27,213.9C148.76,225.36 149.22,236.03 147.86,241.38C146.88,245.22 136.92,252.85 140.3,257.01C142.41,259.61 149.44,256.08 155.11,253.75C161.07,251.3 161.53,249.96 177.83,247.53C185.32,246.42 193.21,246.09 199.08,246.05C201.37,250.87 207.05,260.79 216.9,265.55C230.19,271.97 246.8,271.89 246.8,271.89C246.8,271.89 237.25,267.93 231.38,262.06C227.39,258.06 226.43,251.99 226.23,248.52L226.26,248.53C235.88,250.35 244.29,251.67 264.38,259.37C281.96,266.1 293.97,275.9 293.97,275.9C293.97,275.9 281.62,260.5 260.78,250.22C243.67,241.78 229.63,237.61 210.16,236.67C188.89,235.63 173.21,238.37 173.21,238.37C173.21,238.37 173.65,228.91 189.71,221.38C203.68,214.83 225.65,213.73 250.87,220.16C286.49,229.25 298.64,244.73 313.97,260.72C330.28,277.74 344.38,306.39 344.38,306.39C344.38,306.39 340.03,291.25 332.2,276.8z"
|
||||||
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
||||||
android:strokeLineJoin="miter" android:strokeWidth="0.11">
|
android:strokeLineJoin="miter" android:strokeWidth="0.1">
|
||||||
<aapt:attr name="android:fillColor">
|
<aapt:attr name="android:fillColor">
|
||||||
<gradient android:endX="137.36" android:endY="312.04"
|
<gradient android:endX="139.6" android:endY="306.4"
|
||||||
android:startX="137.36" android:startY="193.02" android:type="linear">
|
android:startX="139.6" android:startY="198.2" android:type="linear">
|
||||||
<item android:color="#FF46D4FF" android:offset="0"/>
|
<item android:color="#FF46D4FF" android:offset="0"/>
|
||||||
<item android:color="#FF1792FF" android:offset="1"/>
|
<item android:color="#FF1792FF" android:offset="1"/>
|
||||||
</gradient>
|
</gradient>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<vector android:height="192dp" android:viewportHeight="500"
|
||||||
|
android:viewportWidth="500" android:width="192dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="#000000" android:fillType="evenOdd"
|
||||||
|
android:pathData="M226.26,250.63C235.88,252.46 244.28,253.78 264.38,261.48C281.96,268.21 293.97,278 293.97,278C293.97,278 281.62,262.6 260.78,252.32C243.67,243.89 229.62,239.72 210.16,238.77C188.88,237.74 173.2,240.47 173.2,240.47C173.2,240.47 173.64,231.02 189.7,223.48C203.67,216.93 225.64,215.84 250.86,222.27C286.49,231.36 298.64,246.83 313.96,262.83C330.27,279.85 344.38,308.49 344.38,308.49C344.38,308.49 340.03,293.36 332.2,278.91C322.77,261.51 314.66,249.08 301.15,236.45C283.48,219.92 269.59,210.54 232.63,204.27C202.96,199.24 177.86,207.26 165.27,216C148.76,227.46 149.21,238.14 147.85,243.48C146.87,247.32 136.91,254.96 140.3,259.12C142.41,261.71 149.44,258.19 155.11,255.86C161.07,253.4 161.53,252.07 177.82,249.64C185.49,248.5 193.56,248.19 199.47,248.15"
|
||||||
|
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
||||||
|
android:strokeLineJoin="miter" android:strokeWidth="0.1"/>
|
||||||
|
<path android:fillColor="#000000" android:fillType="evenOdd"
|
||||||
|
android:pathData="M197.9,245.4C197.9,245.4 203.6,261.23 216.89,267.66C230.19,274.08 246.79,274 246.79,274C246.79,274 237.25,270.04 231.38,264.16C225.51,258.29 226.2,247.94 226.2,247.94ZM250.39,208.96C250.39,208.96 253.37,209.82 254.78,209.27C256.19,208.72 267.25,201.26 279.62,200.46C292.33,199.65 299.6,202.12 299.6,202.12C299.6,202.12 284.78,205.19 282.14,212.08C279.43,219.17 288.42,225.5 288.42,225.5L262.14,222.75Z"
|
||||||
|
android:strokeColor="#00000000" android:strokeLineCap="butt"
|
||||||
|
android:strokeLineJoin="miter" android:strokeWidth="0.1"/>
|
||||||
|
</vector>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@color/ic_launcher_background"/>
|
<background android:drawable="@color/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
<foreground android:drawable="@drawable/ic_dolphin"/>
|
||||||
|
<monochrome android:drawable="@drawable/ic_dolphin_silhouette"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue