Add new adaptive icon for Android

This commit is contained in:
Gabriel Souza Franco 2020-09-13 13:16:17 -03:00
parent f0e32a526a
commit fc43cbe0f1
10 changed files with 135 additions and 7 deletions

View File

@ -9,7 +9,12 @@
android:versionName="0.0.1"
android:versionCode="1588098483"
android:installLocation="auto">
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Alligator" android:icon="@drawable/alligator">
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Alligator" android:icon="@mipmap/ic_launcher">
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
android:name="org.qtproject.qt5.android.bindings.QtActivity"
android:label="Alligator"
@ -41,6 +46,7 @@
<meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
<meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
<meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
<!-- Splash screen -->
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
@ -53,10 +59,4 @@
</activity>
</application>
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="2.8346457"
android:scaleY="2.8346457">
<path
android:pathData="M0,0h38.1v38.1h-38.1z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="-0.97694004"
android:startX="20.0025"
android:endY="37.713978"
android:endX="20.0025"
android:type="linear">
<item android:offset="0" android:color="#FFF39C1F"/>
<item android:offset="1" android:color="#FFF67400"/>
</gradient>
</aapt:attr>
</path>
</group>
</vector>

View File

@ -0,0 +1,99 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="2.8346457"
android:scaleY="2.8346457">
<path
android:pathData="m17.89,9.8674 l-2.7797,14.693 14.694,-2.7785 -16.277,4.3606z"
android:fillColor="#d35400"/>
<path
android:pathData="m17.89,9.8673 l-10.096,28.233 30.306,-0v-8.0231z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1">
<aapt:attr name="android:fillColor">
<gradient
android:startY="18.203041"
android:startX="15.4272"
android:endY="29.185202"
android:endX="26.41056"
android:type="linear">
<item android:offset="0" android:color="#FF000000"/>
<item android:offset="1" android:color="#0005221C"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="m17.329,17.909c2.1622,1.4852 3.8533,3.5326 4.92,5.8973l2.122,-0.568c-1.7022,-2.4428 -4.1504,-4.3294 -7.0421,-5.3293z"
android:fillColor="#fff"/>
<path
android:pathData="m17.219,12.371 l-0.6387,2.3825c3.212,0.1172 6.2976,1.3024 8.7486,3.397 -1.9432,-2.8729 -4.839,-4.899 -8.1099,-5.7795z"
android:fillColor="#fff"/>
<path
android:pathData="m23.37,25.194 l-0.4962,0.2865c-0.9445,-3.0722 -2.888,-5.7459 -5.5456,-7.5713 3.4119,1.3067 5.5213,5.8757 6.0417,7.2847z"
android:fillColor="#eff0f1"/>
<path
android:pathData="m15.4443,9.2333c-0.4868,-0.0297 -0.9415,0.2839 -1.0728,0.7741l-0.1984,0.74c-0.0887,0.3309 -0.0063,0.6644 0.1886,0.9142l-0.0036,0.0026c0.1884,0.2477 0.2667,0.574 0.1809,0.8991 -0.0003,0.0012 0.0003,0.0024 0,0.0036l-0.0398,0.1462 -0.0109,0.0413 -0.7131,2.6614 -0.0212,0.078 -0.1648,0.6155c-0.5723,1.2888 -1.2608,1.8025 -2.4758,1.6702 -1.5781,0 -2.8572,1.2795 -2.8572,2.8577 0.0001,0.2612 0.0358,0.5211 0.1065,0.7725 0.1723,0.7968 -0.0236,1.6521 -0.6041,2.297l-1.4076,1.4076s-4.7794,4.6685 -6.351,4.6685l0,8.3168l9.8204,0c0,-2.6426 3.9748,-7.0175 3.9748,-7.0175l0.5106,-0.5106c2.7236,-2.7236 9.513,-4.0502 14.4336,-6.0451 0.9315,-0.2496 1.48,-1.2002 1.2304,-2.1316 -0.0546,-0.2038 -0.1245,-0.3218 -0.2119,-0.3845l0.0481,-0.2284 -1.6779,0.4501l-0.0036,0l-14.5948,3.9108 0.2129,-0.7953 0.6465,-2.4107 2.1518,-8.0284 1.0216,-3.8147 0.3287,-1.2268 -1.2263,-0.3287c-0.0042,-0.0011 -0.0082,-0.001 -0.0124,-0.0021l-0.9984,-0.2682 -0.046,-0.0124 -0.0016,0.0052c-0.0543,-0.0121 -0.1083,-0.0241 -0.1623,-0.0274z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="31.11461"
android:startX="15.984337"
android:endY="4.9728765"
android:endX="15.984337"
android:type="linear">
<item android:offset="0" android:color="#FF16A085"/>
<item android:offset="1" android:color="#FF1CDC9A"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M11.112,20.638m-2.2225,0a2.2225,2.2225 0,1 1,4.445 0a2.2225,2.2225 0,1 1,-4.445 0"
android:fillColor="#fff"/>
<path
android:pathData="M11.748,20.003m-0.9525,0a0.9525,0.9525 0,1 1,1.905 0a0.9525,0.9525 0,1 1,-1.905 0"
android:fillColor="#2c3e50"/>
<path
android:pathData="m17.276,9.7023 l-5.6306,17.547h0.0013c-0.0553,0.2067 -0.0026,0.4273 0.1401,0.5866 0.1596,0.1778 0.4056,0.2506 0.6363,0.1885v0.0025l17.545,-5.6318 -0.1637,-0.6127 -16.277,4.3606 4.3618,-16.275z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="31.114569"
android:startX="15.982758"
android:endY="-4.8226886"
android:endX="29.776646"
android:type="linear">
<item android:offset="0" android:color="#FF1ABC9C"/>
<item android:offset="1" android:color="#FFEFF0F1"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="m13.529,26.143 l11.012,-11.012"
android:strokeAlpha="0.878"
android:fillColor="#fff"
android:fillAlpha="0.878"/>
<path
android:pathData="m21.984,23.261s0.1765,0.3623 0.2597,0.5469l2.1273,-0.5696c-0.0887,-0.1274 -0.1793,-0.2529 -0.272,-0.3772z"
android:fillColor="#bdc3c7"/>
<path
android:pathData="m16.729,14.2 l-0.1484,0.5534c3.2119,0.1172 6.2975,1.3024 8.7483,3.397 -2.1453,-2.9573 -7.1043,-3.8124 -8.6003,-3.9504z"
android:fillColor="#eff0f1"/>
<path
android:pathData="m17.219,12.371 l-0.6386,2.3828c0.1274,0.0046 0.2548,0.011 0.3818,0.019l0.4445,-2.3498c-0.0622,-0.0176 -0.1254,-0.0351 -0.1878,-0.052z"
android:fillColor="#bdc3c7"/>
<path
android:pathData="m15.287,9.5362a0.6697,0.635 0,0 0,-0.6697 0.635,0.6697 0.635,0 0,0 0.4986,0.6127 0.6697,0.635 0,0 1,-0.093 -0.32,0.6697 0.635,0 0,1 0.6697,-0.635 0.6697,0.635 0,0 1,0.1711 0.0223,0.6697 0.635,0 0,0 -0.5767,-0.315z">
<aapt:attr name="android:fillColor">
<gradient
android:gradientRadius="1.7143968"
android:centerX="15.562436"
android:centerY="10.397031"
android:type="radial">
<item android:offset="0" android:color="#FF16A085"/>
<item android:offset="1" android:color="#0016A085"/>
</gradient>
</aapt:attr>
</path>
</group>
</vector>

View File

@ -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="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB