Skip to content

Commit

Permalink
Added adaptive icon and updated store icon
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
Kamuno committed May 14, 2020
1 parent 5a9a026 commit 9d350ea
Show file tree
Hide file tree
Showing 14 changed files with 242 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.secuso.privacyfriendlyfoodtracker"
minSdkVersion 21
targetSdkVersion 27
versionCode 3
versionName "1.0.2"
versionCode 4
versionName "1.1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

javaCompileOptions {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
Expand Down
102 changes: 102 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M456,401.61c-13.31,-0.8 -27.68,13.16 -27,26.72C442.84,430 457.21,416 456,401.61Z"
android:fillColor="#fff"/>
<path
android:pathData="M454.31,372.18c-13.31,-0.8 -26.23,13.41 -24.73,26.38C442.9,399.36 455.81,385.14 454.31,372.18Z"
android:fillColor="#fff"/>
<path
android:pathData="M453.26,343.61c-12.71,0.05 -25.12,11.36 -23.62,24.32C441.5,368.48 453.31,356.32 453.26,343.61Z"
android:fillColor="#fff"/>
<path
android:pathData="M450.76,314.78c-10.41,-0.3 -22.82,11 -21.92,23.12C440.7,338.45 451.66,326.89 450.76,314.78Z"
android:fillColor="#fff"/>
<path
android:pathData="M392.4,401.86c13.56,-0.65 26.92,12.86 26.72,27C405.56,429.53 390.75,415.77 392.4,401.86Z"
android:fillColor="#fff"/>
<path
android:pathData="M393.05,372.08c13.56,-0.65 26.93,12.86 26.12,26.17C405.61,398.9 392.25,385.39 393.05,372.08Z"
android:fillColor="#fff"/>
<path
android:pathData="M394.91,344c12.11,-0.9 24.87,11.77 24.32,23.63C406.26,369.13 394.35,355.86 394.91,344Z"
android:fillColor="#fff"/>
<path
android:pathData="M396.16,315.08c12.11,-0.9 23.42,11.51 22.27,22.52C407.17,337.9 395.61,326.94 396.16,315.08Z"
android:fillColor="#fff"/>
<path
android:pathData="M423.69,285.45c10.35,9.26 10.6,29.48 0.74,39C413.22,315.78 413,295.56 423.69,285.45Z"
android:fillColor="#fff"/>
<path
android:pathData="M423.68,328.79h0a1,1 0,0 1,1.45 0.25l0.1,127.51 -0.86,0.6h0c-0.85,0.6 -1.45,-0.25 -2.05,-1.1l0.51,-126.66C422.23,328.54 423.08,327.94 423.68,328.79Z"
android:fillColor="#fff"/>
<path
android:pathData="M424.05,128.83m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M417.78,104.61h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M401.18,122.56h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M430.32,273.13L417.79,273.13L417.79,260h12.53ZM430.32,246.9L417.79,246.9L417.79,233.79h12.53ZM430.32,220.68L417.79,220.68L417.79,207.57h12.53ZM430.32,194.46L417.79,194.46L417.79,181.35h12.53Z"
android:fillColor="#fff"/>
<path
android:pathData="M124,460c-17.14,0.24 -32.31,-18.62 -32.3,-39.92 -0.72,-23 11,-52.39 26.71,-56.05l-1.7,-27.67c-2.45,-1 -6.86,-4.16 -6.12,-9.55 -0.49,-5.87 6.12,-11.75 11.26,-6.85 4.9,-5.14 11.27,0.25 11.26,7.35 -0.24,4.16 -3.43,8.57 -6.37,8.81l0.48,27.18c15.67,3.43 28.14,32.57 28.87,55.58C156.06,440.22 142.34,460.29 124,460Z"
android:fillColor="#fff"/>
<path
android:pathData="M120.73,183.78m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M114.46,159.56h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M97.85,177.51h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M127.74,304.33L115.2,304.33L115.2,291.22h12.54ZM127.74,278.1L115.2,278.1L115.2,265h12.54ZM127.74,251.88L115.2,251.88L115.2,238.77h12.54Z"
android:fillColor="#fff"/>
<path
android:pathData="M324,448.15c-4.09,6.81 -12.26,6.81 -17.71,1.36a8.69,8.69 0,0 1,-8.17 0c-2.72,10.89 -16.34,12.26 -21.79,2.72 -6.81,5.45 -17.7,0 -17.7,-9.53 0,-8.17 8.17,-13.62 15,-10.9 0,-8.17 5.45,-12.25 13.62,-12.25 1.36,-1.37 2.72,-4.09 4.08,-5.45 -2.72,-6.81 4.09,-15 12.26,-13.62 -9.53,-9.54 1.36,-25.88 12.26,-19.07 0,-15 19.07,-17.7 23.15,-5.45 4.09,-9.53 17.71,-8.17 20.43,1.37l10.9,-20.43 4.08,2.72 -13.62,19.07c10.9,-1.36 17.71,9.53 10.9,19.06 5.45,4.09 4.08,12.26 0,16.35 6.81,6.81 2.72,19.07 -6.81,20.43a10.93,10.93 0,0 1,-17.71 6.81C348.49,455 330.78,461.77 324,448.15Z"
android:fillColor="#fff"/>
<path
android:pathData="M327.67,211.42m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M321.41,187.2h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M304.8,205.15h45.74v12.53h-45.74z"
android:fillColor="#156a9d"/>
<path
android:pathData="M334.11,355.5L321.58,355.5L321.58,342.39h12.53ZM334.11,329.27L321.58,329.27L321.58,316.16h12.53ZM334.11,303.05L321.58,303.05L321.58,289.94h12.53ZM334.11,276.83L321.58,276.83L321.58,263.72h12.53Z"
android:fillColor="#fff"/>
<path
android:pathData="M240.11,370.68c7.48,3.74 13.09,7.48 13.09,15 -1.87,0 -3.74,0 -5.61,1.87q-2.81,-2.81 -5.61,0 -2.8,-2.81 -5.62,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.8,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.8,-2.81 -5.61,0c-1.87,-1.87 -3.75,-1.87 -5.62,0q-2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0c-1.87,-1.87 -5.61,-1.87 -5.61,0 -1.88,-1.87 -3.75,-1.87 -5.62,-1.87 0,-7.48 5.62,-11.22 13.1,-15 -5.61,-7.49 3.74,-15 15,-16.84 -5.61,-11.22 11.23,-13.09 13.1,-22.45 15,7.49 20.57,16.84 15,22.45C236.36,355.71 245.72,363.19 240.11,370.68Z"
android:fillColor="#fff"/>
<path
android:pathData="M180.25,453.64c-1.87,-9.36 -13.1,-46.77 -13.1,-52.38 0,-3.74 3.74,-9.35 5.61,-3.74 1.88,-3.74 5.62,-3.74 7.49,0 0,-3.74 3.74,-3.74 5.61,0q2.8,-5.61 5.61,0 2.81,-5.61 5.61,0 2.8,-5.61 5.61,0 2.81,-5.61 5.62,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.82,-5.61 5.62,0 2.81,-5.61 5.61,0c3.74,-5.61 7.48,0 7.48,3.74 0,5.61 -11.22,43 -13.09,52.38Z"
android:fillColor="#fff"/>
<path
android:pathData="M211.11,147.47m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M204.85,123.26h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M188.24,141.21h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M217.41,319.09L204.88,319.09L204.88,306h12.53ZM217.41,292.87L204.88,292.87L204.88,279.76h12.53ZM217.41,266.64L204.88,266.64L204.88,253.53h12.53Z"
android:fillColor="#fff"/>
<path
android:pathData="M204.59,227.16h12.53v13.11h-12.53z"
android:fillColor="#fff"/>
<path
android:pathData="M204.35,201.67h12.53v13.11h-12.53z"
android:fillColor="#fff"/>
</vector>
123 changes: 123 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground_shadow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M511.93,466.2V323.27l0.07,-171.56 -136.35,-137 -40.95,-1.2 4.73,15.17 0.39,54.43 -21.59,-10.23 22.37,22.47h-0.81v13.11l12.53,13.11h-12.53v13.11l12.53,13.11h-12.53v10.25L281.47,100 223.25,94 161.4,32 126.26,21.19 102.77,89 129,115.48l-2.65,0.19v7.91L72.21,69.31 36.8,57l-23.06,69.58 26.24,26 -2.78,0.22v13.11L49.74,179H37.2v13.1l12.54,13.12H37.2v13.11l14.66,14.9 -11.47,44.84 -16.45,84.93 140.86,140.87 308.93,0.14c20.93,-0.01 38.2,-16.08 38.2,-37.81z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="14.15"
android:startX="111.07"
android:endY="450.89"
android:endX="363.22"
android:type="linear">
<item android:offset="0" android:color="#FF004492"/>
<item android:offset="0.22" android:color="#F9014592"/>
<item android:offset="0.39" android:color="#E8024893"/>
<item android:offset="0.55" android:color="#C9054D95"/>
<item android:offset="0.69" android:color="#A0095496"/>
<item android:offset="0.83" android:color="#6B0D5C99"/>
<item android:offset="0.97" android:color="#2B13679C"/>
<item android:offset="1" android:color="#19156A9D"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="m378,315.61c-13.31,-0.8 -27.68,13.16 -27,26.72 13.84,1.67 28.21,-12.33 27,-26.72z"
android:fillColor="#fff"/>
<path
android:pathData="m376.31,286.18c-13.31,-0.8 -26.23,13.41 -24.73,26.38 13.32,0.8 26.23,-13.42 24.73,-26.38z"
android:fillColor="#fff"/>
<path
android:pathData="m375.26,257.61c-12.71,0.05 -25.12,11.36 -23.62,24.32 11.86,0.55 23.67,-11.61 23.62,-24.32z"
android:fillColor="#fff"/>
<path
android:pathData="m372.76,228.78c-10.41,-0.3 -22.82,11 -21.92,23.12 11.86,0.55 22.82,-11.01 21.92,-23.12z"
android:fillColor="#fff"/>
<path
android:pathData="m314.4,315.86c13.56,-0.65 26.92,12.86 26.72,27 -13.56,0.67 -28.37,-13.09 -26.72,-27z"
android:fillColor="#fff"/>
<path
android:pathData="m315.05,286.08c13.56,-0.65 26.93,12.86 26.12,26.17 -13.56,0.65 -26.92,-12.86 -26.12,-26.17z"
android:fillColor="#fff"/>
<path
android:pathData="m316.91,258c12.11,-0.9 24.87,11.77 24.32,23.63 -12.97,1.5 -24.88,-11.77 -24.32,-23.63z"
android:fillColor="#fff"/>
<path
android:pathData="m318.16,229.08c12.11,-0.9 23.42,11.51 22.27,22.52 -11.26,0.3 -22.82,-10.66 -22.27,-22.52z"
android:fillColor="#fff"/>
<path
android:pathData="m345.69,199.45c10.35,9.26 10.6,29.48 0.74,39 -11.21,-8.67 -11.43,-28.89 -0.74,-39z"
android:fillColor="#fff"/>
<path
android:pathData="m345.68,242.79v0a1,1 0,0 1,1.45 0.25l0.1,127.51 -0.86,0.6v0c-0.85,0.6 -1.45,-0.25 -2.05,-1.1l0.51,-126.66c-0.6,-0.85 0.25,-1.45 0.85,-0.6z"
android:fillColor="#fff"/>
<path
android:pathData="M346.05,42.83m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M339.78,18.61h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M323.18,36.56h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M352.32,187.13L339.79,187.13L339.79,174h12.53zM352.32,160.9h-12.53v-13.11h12.53zM352.32,134.68h-12.53v-13.11h12.53zM352.32,108.46L339.79,108.46L339.79,95.35h12.53z"
android:fillColor="#fff"/>
<path
android:pathData="m46,374c-17.14,0.24 -32.31,-18.62 -32.3,-39.92 -0.72,-23 11,-52.39 26.71,-56.05l-1.7,-27.67c-2.45,-1 -6.86,-4.16 -6.12,-9.55 -0.49,-5.87 6.12,-11.75 11.26,-6.85 4.9,-5.14 11.27,0.25 11.26,7.35 -0.24,4.16 -3.43,8.57 -6.37,8.81l0.48,27.18c15.67,3.43 28.14,32.57 28.87,55.58C78.06,354.22 64.34,374.29 46,374Z"
android:fillColor="#fff"/>
<path
android:pathData="M42.73,97.78m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M36.46,73.56h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M19.85,91.51h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M49.74,218.33L37.2,218.33v-13.11h12.54zM49.74,192.1L37.2,192.1L37.2,179h12.54zM49.74,165.88L37.2,165.88v-13.11h12.54z"
android:fillColor="#fff"/>
<path
android:pathData="m246,362.15c-4.09,6.81 -12.26,6.81 -17.71,1.36a8.69,8.69 0,0 1,-8.17 0c-2.72,10.89 -16.34,12.26 -21.79,2.72 -6.81,5.45 -17.7,0 -17.7,-9.53 0,-8.17 8.17,-13.62 15,-10.9 0,-8.17 5.45,-12.25 13.62,-12.25 1.36,-1.37 2.72,-4.09 4.08,-5.45 -2.72,-6.81 4.09,-15 12.26,-13.62 -9.53,-9.54 1.36,-25.88 12.26,-19.07 0,-15 19.07,-17.7 23.15,-5.45 4.09,-9.53 17.71,-8.17 20.43,1.37l10.9,-20.43 4.08,2.72 -13.62,19.07c10.9,-1.36 17.71,9.53 10.9,19.06 5.45,4.09 4.08,12.26 0,16.35 6.81,6.81 2.72,19.07 -6.81,20.43a10.93,10.93 0,0 1,-17.71 6.81c1.32,13.66 -16.39,20.43 -23.17,6.81z"
android:fillColor="#fff"/>
<path
android:pathData="M249.67,125.42m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M243.41,101.2h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M226.8,119.15h45.74v12.53h-45.74z"
android:fillColor="#156a9d"/>
<path
android:pathData="m256.11,269.5h-12.53v-13.11h12.53zM256.11,243.27h-12.53v-13.11h12.53zM256.11,217.05h-12.53v-13.11h12.53zM256.11,190.83h-12.53v-13.11h12.53z"
android:fillColor="#fff"/>
<path
android:pathData="m162.11,284.68c7.48,3.74 13.09,7.48 13.09,15 -1.87,0 -3.74,0 -5.61,1.87q-2.81,-2.81 -5.61,0 -2.8,-2.81 -5.62,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.8,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.8,-2.81 -5.61,0c-1.87,-1.87 -3.75,-1.87 -5.62,0q-2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0 -2.81,-2.81 -5.61,0c-1.87,-1.87 -5.61,-1.87 -5.61,0 -1.88,-1.87 -3.75,-1.87 -5.62,-1.87 0,-7.48 5.62,-11.22 13.1,-15 -5.61,-7.49 3.74,-15 15,-16.84 -5.61,-11.22 11.23,-13.09 13.1,-22.45 15,7.49 20.57,16.84 15,22.45 11.14,1.87 20.5,9.35 14.89,16.84z"
android:fillColor="#fff"/>
<path
android:pathData="m102.25,367.64c-1.87,-9.36 -13.1,-46.77 -13.1,-52.38 0,-3.74 3.74,-9.35 5.61,-3.74 1.88,-3.74 5.62,-3.74 7.49,0 0,-3.74 3.74,-3.74 5.61,0q2.8,-5.61 5.61,0 2.81,-5.61 5.61,0 2.8,-5.61 5.61,0 2.81,-5.61 5.62,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.81,-5.61 5.61,0 2.82,-5.61 5.62,0 2.81,-5.61 5.61,0c3.74,-5.61 7.48,0 7.48,3.74 0,5.61 -11.22,43 -13.09,52.38z"
android:fillColor="#fff"/>
<path
android:pathData="M133.11,61.47m-40.88,0a40.88,40.88 0,1 1,81.76 0a40.88,40.88 0,1 1,-81.76 0"
android:fillColor="#fff"/>
<path
android:pathData="M126.85,37.26h12.53v48.43h-12.53z"
android:fillColor="#156a9d"/>
<path
android:pathData="M110.24,55.21h45.75v12.53h-45.75z"
android:fillColor="#156a9d"/>
<path
android:pathData="M139.41,233.09L126.88,233.09L126.88,220h12.53zM139.41,206.87h-12.53v-13.11h12.53zM139.41,180.64h-12.53v-13.11h12.53z"
android:fillColor="#fff"/>
<path
android:pathData="M126.59,141.16h12.53v13.11h-12.53z"
android:fillColor="#fff"/>
<path
android:pathData="M126.35,115.67h12.53v13.11h-12.53z"
android:fillColor="#fff"/>
</vector>
11 changes: 11 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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>
<inset android:drawable="@drawable/ic_launcher_foreground_shadow"
android:insetTop="28%"
android:insetLeft="28%"
android:insetBottom="14%"
android:insetRight="14%"/>
</foreground>
</adaptive-icon>
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@
<item>@color/dot_dark_screen</item>
<item>@color/dot_dark_screen</item>
</array>

<color name="ic_launcher_background">#3680BB</color>
</resources>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.android.tools.build:gradle:3.6.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Binary file modified fastlane/metadata/android/de-DE/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d350ea

Please sign in to comment.