Skip to content

Commit

Permalink
feat(icon): add adaptive icon to android oreo
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Del Pino <[email protected]>
  • Loading branch information
Ivan Del Pino authored and rafaelje committed Nov 22, 2018
1 parent d680a61 commit 03f2e32
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<application
android:name=".ui.InventoryAgentApp"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@drawable/ic_launcher_round"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:vmSafeMode="true">
Expand All @@ -53,18 +54,18 @@
</activity>
<activity
android:name=".ui.ActivityMain"
android:label="@string/app_name"></activity>
android:label="@string/app_name" />
<activity
android:name=".preference.InventoryParametersPreference"
android:label="@string/app_name"></activity>
android:label="@string/app_name" />
<activity
android:name=".preference.GlobalParametersPreference"
android:label="@string/app_name"></activity>
android:label="@string/app_name" />
<activity
android:name=".ui.ActivityInventoryReport"
android:label="@string/app_name"
android:launchMode="standard"
android:theme="@style/NoActionBar"></activity>
android:theme="@style/NoActionBar" />

<service
android:name=".service.InventoryService"
Expand All @@ -89,7 +90,7 @@
</intent-filter>
</receiver>

<activity android:name=".ui.PermissionActivity"></activity>
<activity android:name=".ui.PermissionActivity" />
</application>

</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_launcher_fore.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 added app/src/main/res/drawable/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.
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/tools">
<background android:drawable="@drawable/ic_launcher-back"/>
<foreground android:drawable="@drawable/ic_launcher_fore"/>
</adaptive-icon>

0 comments on commit 03f2e32

Please sign in to comment.