Skip to content

Commit

Permalink
chore: add app icon (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrielcafe authored Oct 27, 2019
1 parent 0839831 commit 485a649
Show file tree
Hide file tree
Showing 23 changed files with 37 additions and 220 deletions.
34 changes: 0 additions & 34 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

170 changes: 0 additions & 170 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

13 changes: 13 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,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="205.2136"
android:viewportHeight="205.40787">
<group android:translateX="69.401794"
android:translateY="56.25893">
<path
android:pathData="M52.25,12.64c-1.56,0.14 -2.94,-0.96 -3.09,-2.44 -0.14,-1.49 1,-2.81 2.56,-2.95 1.55,-0.14 2.94,0.95 3.08,2.44 0.15,1.49 -0.99,2.81 -2.55,2.95zM48.6,0.08c-4.94,0.52 -9.71,3.43 -11.46,9.48 -0.64,2.24 -1.09,4.7 -1.79,6.9 -0.4,1.24 -0.87,2.23 -1.57,2.9 -7.22,6.89 -12.33,14.53 -16.1,22.51 -3.52,7.44 -5.86,15.15 -7.65,22.78 11.66,-9.24 19.42,-17.35 29.86,-31.26 -4.26,18.6 -18.07,28.83 -33.48,40.68l-6.18,15.15c-1,2.23 1.47,4.49 3.77,3.38 6.51,-3.13 12.44,-6.93 17.49,-11.9 4.84,-4.78 8.86,-10.59 11.75,-17.87 1.6,-0.64 3.12,-1.28 4.55,-1.95l0.77,4.01 -1.62,0c-1.52,0 -2.75,1.18 -2.75,2.63 0,1.45 1.23,2.63 2.75,2.63l11.25,0c1.52,0 2.75,-1.18 2.75,-2.63 0,-1.45 -1.23,-2.63 -2.75,-2.63l-4.03,0 -1.27,-6.65c4.65,-2.71 8.22,-5.76 10.81,-9.36 3.71,-5.16 5.31,-11.31 5.11,-19.06 -0.06,-2.25 -0.59,-5.08 -0.55,-7.18 0.02,-1.57 0.38,-2.76 0.86,-3.75 1.83,0.22 3.28,-0.35 3.39,2.67 0.02,0.86 1.16,1.21 1.71,0.53 3.3,-4.1 3.08,-11.04 -2.15,-15.15 -2,-5.06 -8.11,-7.42 -13.47,-6.86z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</group>
</vector>
6 changes: 3 additions & 3 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +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>
<background android:drawable="@color/colorAccent"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
6 changes: 3 additions & 3 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -1,5 +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>
<background android:drawable="@color/colorAccent"/>
<foreground android:drawable="@drawable/ic_launcher_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-hdpi/ic_launcher_round.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-mdpi/ic_launcher_round.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-xhdpi/ic_launcher_round.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-xxhdpi/ic_launcher_round.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.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#249042</color>
</resources>
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions presentation/src/main/res/drawable/ic_empty_state.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
android:viewportHeight="512">
<path
android:pathData="M384.656,440.36L136.172,440.36v64.124h255.5L391.672,440.36zM384.656,440.36M128.156,376.734v63.125h55.11v0.5,-64.125 0.5zM128.156,376.734M48,304.594h47.094v79.156L48,383.75zM48,304.594M336.563,304.594h47.093v72.14h-47.094zM336.563,304.594M408.703,371.727v73.14h52.102v-73.14zM408.703,371.727"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
<path
android:fillColor="#FF000000"
android:pathData="M343.578,368.719v-64.125h-64.68c5.36,-6.75 8.57,-15.278 8.57,-24.547v-32.563h32.063v-71.14L160.22,176.344v103.703c0,9.27 3.21,17.797 8.566,24.547L88.078,304.594v79.156h40.078v49.094L96.094,432.844L96.094,512L431.75,512v-64.125h32.063v-79.156zM287.468,191.375L304.5,191.375v41.078h-17.031zM175.25,280.047v-88.672h97.188v88.672c0,13.535 -11.012,24.547 -24.547,24.547h-48.094c-13.535,0 -24.547,-11.012 -24.547,-24.547zM416.719,496.969L111.125,496.969v-49.094h305.594zM448.781,432.844L143.187,432.844L143.187,383.75h152.797v-15.031L103.11,368.719v-49.094h225.438v49.094h-16.531v15.031L448.78,383.75zM448.781,432.844M271.938,32.063h-112.22c-4.695,0 -8.515,-3.82 -8.515,-8.516s3.82,-8.516 8.516,-8.516L159.719,0C146.734,0 136.172,10.563 136.172,23.547s10.562,23.547 23.547,23.547h72.14c4.696,0 8.516,3.82 8.516,8.515s-3.82,8.516 -8.516,8.516L95.594,64.125c-12.985,0 -23.547,10.563 -23.547,23.547s10.562,23.547 23.547,23.547h96.187c4.696,0 8.516,3.82 8.516,8.515s-3.82,8.516 -8.516,8.516h-8.015c-12.985,0 -23.547,10.563 -23.547,23.547v8.016h15.031v-8.016c0,-4.695 3.82,-8.516 8.516,-8.516h48.093c12.985,0 23.547,-10.562 23.547,-23.547s-10.562,-23.546 -23.547,-23.546L135.672,96.188c-4.695,0 -8.516,-3.82 -8.516,-8.516s3.82,-8.516 8.516,-8.516h136.266c12.984,0 23.546,-10.562 23.546,-23.547s-10.562,-23.547 -23.547,-23.547zM240.375,119.734c0,4.696 -3.82,8.516 -8.516,8.516h-18.132a23.455,23.455 0,0 0,0 -17.031h18.132c4.696,0 8.516,3.82 8.516,8.515zM113.727,96.188L95.594,96.188c-4.696,0 -8.516,-3.82 -8.516,-8.516s3.82,-8.516 8.516,-8.516h18.133c-1.032,2.64 -1.602,5.512 -1.602,8.516s0.57,5.871 1.602,8.516zM271.937,64.125h-18.132a23.455,23.455 0,0 0,0 -17.031h18.132c4.696,0 8.516,3.82 8.516,8.515s-3.82,8.516 -8.516,8.516zM271.937,64.125"/>
<path
android:pathData="M255.906,400.781h16.031v15.031h-16.03zM255.906,400.781M287.969,400.781L304,400.781v15.031h-16.031zM287.969,400.781M320.031,400.781h16.031v15.031h-16.03zM320.031,400.781"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
</vector>
8 changes: 4 additions & 4 deletions presentation/src/main/res/drawable/ic_error_state.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:viewportHeight="512">
<path
android:pathData="M396.738,80.156L331.61,15.031L331.61,7.516h-15.027v87.671h87.668v-15.03zM396.738,80.156"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
<path
android:fillColor="#FF000000"
android:pathData="M411.766,183.86h-15.028L396.738,90.784l-75.754,-75.754h-181.25L139.734,0h187.473l84.559,84.559zM411.766,183.86M380.203,399.781L108.172,399.781L108.172,183.86h15.031L123.203,384.75h257zM380.203,399.781"/>
Expand All @@ -14,7 +14,7 @@
android:pathData="M147.75,312.61h152.297v15.03L147.75,327.64zM147.75,312.61M203.86,120.234h168.327v15.032L203.86,135.266zM203.86,120.234M147.75,264.516h152.297v15.03L147.75,279.546zM147.75,264.516M147.75,216.422h176.344v15.031L147.75,231.453zM147.75,216.422M203.86,168.328h168.327v15.031L203.86,183.359zM203.86,168.328"/>
<path
android:pathData="M195.844,72.14h16.031v15.032h-16.031zM195.844,72.14M227.906,72.14h16.031v15.032h-16.03zM227.906,72.14M259.969,72.14L276,72.14v15.032h-16.031zM259.969,72.14"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
<path
android:pathData="M452.344,288.063c0,26.562 -21.531,48.093 -48.094,48.093 -26.559,0 -48.094,-21.531 -48.094,-48.094s21.535,-48.093 48.094,-48.093c26.563,0 48.094,21.531 48.094,48.094zM452.344,288.063"
android:fillColor="#fff"/>
Expand All @@ -26,13 +26,13 @@
android:pathData="M404.25,232.453c-30.66,0 -55.605,24.945 -55.605,55.61s24.945,55.609 55.605,55.609c30.664,0 55.61,-24.945 55.61,-55.61s-24.946,-55.609 -55.61,-55.609zM404.25,328.641c-22.375,0 -40.578,-18.204 -40.578,-40.579s18.203,-40.578 40.578,-40.578c22.379,0 40.582,18.203 40.582,40.578s-18.203,40.579 -40.582,40.579zM404.25,328.641"/>
<path
android:pathData="M404.25,400.781c-12.98,0 -23.543,10.563 -23.543,23.547L380.707,512h47.09v-87.672c0,-12.984 -10.563,-23.547 -23.547,-23.547zM404.25,400.781"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
<path
android:fillColor="#FF000000"
android:pathData="M76.11,7.516h15.03v32.062L76.11,39.578zM76.11,7.516M108.172,7.516h15.031v32.062L108.172,39.578zM108.172,7.516"/>
<path
android:pathData="M99.656,24.047c-21.824,0 -39.578,17.754 -39.578,39.578h79.156c0,-21.824 -17.754,-39.578 -39.578,-39.578zM99.656,24.047"
android:fillColor="?colorAccent"/>
android:fillColor="@color/colorAccent"/>
<path
android:fillColor="#FF000000"
android:pathData="M155.266,119.234h24.547v-15.03h-24.547L155.266,87.171h24.047L179.313,55.609L164.28,55.609v16.532h-10.254c-3.144,-9.309 -11.953,-16.032 -22.308,-16.032L67.594,56.109c-10.356,0 -19.164,6.723 -22.309,16.032L35.031,72.141L35.031,55.609L20,55.609v31.563h24.047v17.031L19.5,104.203v15.031h24.547v8.516c0,2.926 0.328,5.77 0.933,8.516L20,136.266v31.562h15.031v-16.531h16.532v-0.387c7.195,9.934 18.882,16.418 32.062,16.418h32.063c13.18,0 24.867,-6.48 32.062,-16.418v0.387h16.531v16.531h15.031v-31.562h-24.98c0.606,-2.746 0.934,-5.59 0.934,-8.516zM59.078,127.75L59.078,79.656c0,-4.695 3.82,-8.515 8.516,-8.515L92.14,71.141v81.156h-8.516c-13.535,0 -24.547,-11.012 -24.547,-24.547zM140.234,127.75c0,13.535 -11.011,24.547 -24.546,24.547h-8.516L107.172,71.14h24.547c4.695,0 8.515,3.82 8.515,8.515zM140.234,127.75"/>
Expand Down
4 changes: 4 additions & 0 deletions presentation/src/main/res/drawable/ic_logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<vector android:height="28dp" android:viewportHeight="92.89"
android:viewportWidth="66.41" android:width="20.037037dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffff" android:fillType="evenOdd" android:pathData="M52.25,12.64c-1.56,0.14 -2.94,-0.96 -3.09,-2.44 -0.14,-1.49 1,-2.81 2.56,-2.95 1.55,-0.14 2.94,0.95 3.08,2.44 0.15,1.49 -0.99,2.81 -2.55,2.95zM48.6,0.08c-4.94,0.52 -9.71,3.43 -11.46,9.48 -0.64,2.24 -1.09,4.7 -1.79,6.9 -0.4,1.24 -0.87,2.23 -1.57,2.9 -7.22,6.89 -12.33,14.53 -16.1,22.51 -3.52,7.44 -5.86,15.15 -7.65,22.78 11.66,-9.24 19.42,-17.35 29.86,-31.26 -4.26,18.6 -18.07,28.83 -33.48,40.68l-6.18,15.15c-1,2.23 1.47,4.49 3.77,3.38 6.51,-3.13 12.44,-6.93 17.49,-11.9 4.84,-4.78 8.86,-10.59 11.75,-17.87 1.6,-0.64 3.12,-1.28 4.55,-1.95l0.77,4.01 -1.62,0c-1.52,0 -2.75,1.18 -2.75,2.63 0,1.45 1.23,2.63 2.75,2.63l11.25,0c1.52,0 2.75,-1.18 2.75,-2.63 0,-1.45 -1.23,-2.63 -2.75,-2.63l-4.03,0 -1.27,-6.65c4.65,-2.71 8.22,-5.76 10.81,-9.36 3.71,-5.16 5.31,-11.31 5.11,-19.06 -0.06,-2.25 -0.59,-5.08 -0.55,-7.18 0.02,-1.57 0.38,-2.76 0.86,-3.75 1.83,0.22 3.28,-0.35 3.39,2.67 0.02,0.86 1.16,1.21 1.71,0.53 3.3,-4.1 3.08,-11.04 -2.15,-15.15 -2,-5.06 -8.11,-7.42 -13.47,-6.86z"/>
</vector>
2 changes: 1 addition & 1 deletion presentation/src/main/res/layout/error_state_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="32dp"
android:backgroundTint="@color/blue"
android:backgroundTint="@color/colorAccent"
android:text="@string/text_button_try_again"
android:textAllCaps="false"
android:theme="@style/AppTheme.Inverted"
Expand Down
4 changes: 2 additions & 2 deletions presentation/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<resources>
<color name="colorPrimary">@color/white</color>
<color name="colorPrimaryDark">@color/white</color>
<color name="colorAccent">@color/darkGray1</color>
<color name="colorAccent">@color/green</color>

<color name="green">#249042</color>
<color name="white">@android:color/white</color>
<color name="blackAlpha">#AA333333</color>
<color name="lightGray1">#F8F9FD</color>
<color name="lightGray2">#DCE0E9</color>
<color name="darkGray1">#2D3844</color>
<color name="darkGray2">#5a6872</color>
<color name="blue">#2144F3</color>
</resources>
2 changes: 1 addition & 1 deletion presentation/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<item name="android:layout_marginEnd">8dp</item>
<item name="android:padding">12dp</item>
<item name="android:background">?selectableItemBackgroundBorderless</item>
<item name="android:tint">@color/colorAccent</item>
<item name="android:tint">@color/darkGray1</item>
</style>

</resources>

0 comments on commit 485a649

Please sign in to comment.