Adding adaptive icon for Android 10+

pull/1349/head
James Brown 5 years ago
parent 8ff926b5e4
commit dc696fba23
  1. 42
      app/src/main/res/drawable/ic_launcher_foreground.xml
  2. 39
      app/src/main/res/drawable/ic_logo.xml
  3. 2
      app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  4. 5
      app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@ -0,0 +1,42 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="160.19139"
android:viewportHeight="160.19139">
<group android:translateX="33.595695"
android:translateY="47.095695">
<path
android:pathData="M68,30.5a6.5,6.5 0,1 1,-13.001 -0.001A6.5,6.5 0,0 1,68 30.5"
android:fillColor="#F9D021"
android:fillType="evenOdd"/>
<path
android:pathData="M75,27c-0.334,0.337 -0.667,0.668 -0.993,1L74,27.995c0.333,-0.332 0.659,-0.663 1,-0.995"
android:fillColor="#75B943"
android:fillType="evenOdd"/>
<path
android:pathData="M75,27c-0.334,0.337 -0.667,0.668 -0.993,1L74,27.995c0.333,-0.332 0.659,-0.663 1,-0.995"
android:fillColor="#FFFFFE"
android:fillType="evenOdd"/>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M89.889,2.781A16292.8896,16292.8896 0,0 1,75.54 25.475l-0.802,1.261c-0.172,0.272 -0.34,0.539 -0.509,0.802 -1.28,-4.974 -5.409,-8.798 -10.534,-9.603 0.231,-0.368 7.423,-11.798 9.238,-14.703 0.208,-0.333 0.39,-0.58 0.851,-0.578 5.288,0.018 10.573,0.016 15.86,0.021 0.048,0 0.097,0.04 0.244,0.106"
android:fillColor="#75B943"
android:fillType="evenOdd"/>
</group>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M92.946,58.934c-2.647,3.155 -5.627,5.384 -9.415,6.28 -5.205,1.229 -10.163,0.672 -14.608,-2.56 -3.23,-2.346 -5.199,-5.633 -6.63,-9.287a48.607,48.607 0,0 1,-0.149 -0.387c-0.01,-0.031 -0.023,-0.062 -0.034,-0.092 -0.37,-0.98 -1.013,-2.752 -1.64,-4.668 -0.512,-1.564 -1.012,-3.224 -1.346,-4.63 0.823,0.167 1.677,0.253 2.549,0.253 3.852,0 7.313,-1.688 9.686,-4.368l0.027,-0.029c0.871,2.172 1.78,5.581 2.642,8.232a33.349,33.349 0,0 0,0.703 1.982c0.956,2.4 1.972,4.749 3.893,6.529 0.13,0.117 0.262,0.234 0.398,0.348 2.5,2.081 5.492,2.625 8.614,2.728 1.697,0.054 3.379,-0.178 5.31,-0.331"
android:fillColor="#DB393A"
android:fillType="evenOdd"/>
</group>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M50.699,37.763c-3.074,4.318 -6.406,8.43 -10.327,12.072 -3.305,3.07 -6.825,5.817 -11.072,7.475 -1.62,0.632 -3.299,0.98 -5.043,0.966 -4.93,0.01 -8.474,-3.094 -9.522,-8.283 -0.93,-4.611 -0.46,-9.152 0.827,-13.596 2.385,-8.232 6.575,-15.509 12.13,-21.978 2.515,-2.926 5.402,-5.442 9.174,-6.646 2.667,-0.85 5.35,-1.094 7.956,0.252 2.008,1.038 3.407,2.71 4.525,4.625 1.59,2.72 2.575,5.676 3.427,8.678a12.891,12.891 0,0 1,8.899 -3.552c0.688,0 1.365,0.054 2.023,0.159l0.78,-1.24c-0.59,-1.366 -1.093,-2.61 -1.657,-3.822 -1.765,-3.772 -4.174,-7.032 -7.647,-9.387C51.05,0.691 46.475,-0.204 41.565,0.208c-6.263,0.526 -12.104,2.356 -17.44,5.668C15.647,11.14 8.99,18.193 4.316,27.048 1.323,32.715 -0.4,38.754 0.08,45.248 0.7,53.63 4.9,59.625 12.375,63.29c5.814,2.851 12.005,3.109 18.275,2.336 5.212,-0.644 10.126,-2.365 14.656,-5 5.497,-3.194 10.26,-7.359 14.697,-11.902 0.152,-0.157 0.253,-0.39 0.466,-0.503 -0.51,-1.564 -1.011,-3.224 -1.345,-4.63a12.983,12.983 0,0 1,-8.425 -5.827"
android:fillColor="#54C1E3"
android:fillType="evenOdd"/>
</group>
</group>
</vector>

@ -0,0 +1,39 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="93dp"
android:height="66dp"
android:viewportWidth="93"
android:viewportHeight="66">
<path
android:pathData="M68,30.5a6.5,6.5 0,1 1,-13.001 -0.001A6.5,6.5 0,0 1,68 30.5"
android:fillColor="#F9D021"
android:fillType="evenOdd"/>
<path
android:pathData="M75,27c-0.334,0.337 -0.667,0.668 -0.993,1L74,27.995c0.333,-0.332 0.659,-0.663 1,-0.995"
android:fillColor="#75B943"
android:fillType="evenOdd"/>
<path
android:pathData="M75,27c-0.334,0.337 -0.667,0.668 -0.993,1L74,27.995c0.333,-0.332 0.659,-0.663 1,-0.995"
android:fillColor="#FFFFFE"
android:fillType="evenOdd"/>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M89.889,2.781A16292.8896,16292.8896 0,0 1,75.54 25.475l-0.802,1.261c-0.172,0.272 -0.34,0.539 -0.509,0.802 -1.28,-4.974 -5.409,-8.798 -10.534,-9.603 0.231,-0.368 7.423,-11.798 9.238,-14.703 0.208,-0.333 0.39,-0.58 0.851,-0.578 5.288,0.018 10.573,0.016 15.86,0.021 0.048,0 0.097,0.04 0.244,0.106"
android:fillColor="#75B943"
android:fillType="evenOdd"/>
</group>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M92.946,58.934c-2.647,3.155 -5.627,5.384 -9.415,6.28 -5.205,1.229 -10.163,0.672 -14.608,-2.56 -3.23,-2.346 -5.199,-5.633 -6.63,-9.287a48.607,48.607 0,0 1,-0.149 -0.387c-0.01,-0.031 -0.023,-0.062 -0.034,-0.092 -0.37,-0.98 -1.013,-2.752 -1.64,-4.668 -0.512,-1.564 -1.012,-3.224 -1.346,-4.63 0.823,0.167 1.677,0.253 2.549,0.253 3.852,0 7.313,-1.688 9.686,-4.368l0.027,-0.029c0.871,2.172 1.78,5.581 2.642,8.232a33.349,33.349 0,0 0,0.703 1.982c0.956,2.4 1.972,4.749 3.893,6.529 0.13,0.117 0.262,0.234 0.398,0.348 2.5,2.081 5.492,2.625 8.614,2.728 1.697,0.054 3.379,-0.178 5.31,-0.331"
android:fillColor="#DB393A"
android:fillType="evenOdd"/>
</group>
<group>
<clip-path android:pathData="M0.013,0.113h92.933V66H0.013z M 0,0"/>
<path
android:pathData="M50.699,37.763c-3.074,4.318 -6.406,8.43 -10.327,12.072 -3.305,3.07 -6.825,5.817 -11.072,7.475 -1.62,0.632 -3.299,0.98 -5.043,0.966 -4.93,0.01 -8.474,-3.094 -9.522,-8.283 -0.93,-4.611 -0.46,-9.152 0.827,-13.596 2.385,-8.232 6.575,-15.509 12.13,-21.978 2.515,-2.926 5.402,-5.442 9.174,-6.646 2.667,-0.85 5.35,-1.094 7.956,0.252 2.008,1.038 3.407,2.71 4.525,4.625 1.59,2.72 2.575,5.676 3.427,8.678a12.891,12.891 0,0 1,8.899 -3.552c0.688,0 1.365,0.054 2.023,0.159l0.78,-1.24c-0.59,-1.366 -1.093,-2.61 -1.657,-3.822 -1.765,-3.772 -4.174,-7.032 -7.647,-9.387C51.05,0.691 46.475,-0.204 41.565,0.208c-6.263,0.526 -12.104,2.356 -17.44,5.668C15.647,11.14 8.99,18.193 4.316,27.048 1.323,32.715 -0.4,38.754 0.08,45.248 0.7,53.63 4.9,59.625 12.375,63.29c5.814,2.851 12.005,3.109 18.275,2.336 5.212,-0.644 10.126,-2.365 14.656,-5 5.497,-3.194 10.26,-7.359 14.697,-11.902 0.152,-0.157 0.253,-0.39 0.466,-0.503 -0.51,-1.564 -1.011,-3.224 -1.345,-4.63a12.983,12.983 0,0 1,-8.425 -5.827"
android:fillColor="#54C1E3"
android:fillType="evenOdd"/>
</group>
</vector>

@ -1,5 +1,5 @@
<?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_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Loading…
Cancel
Save