Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Update Android icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed Nov 15, 2019
1 parent c3c6856 commit 245e3a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions mobile/colors.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="background">#1976d2</color>
</resources>
14 changes: 8 additions & 6 deletions mobile/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,18 @@
</platform>

<platform name="android">
<resource-file src="colors.xml" target="/app/src/main/res/values/colors.xml" />

<preference name="SplashMaintainAspectRatio" value="true"/>
<preference name="android-installLocation" value="auto"/>
<preference name="SplashShowOnlyFirstTime" value="true"/>

<icon density="ldpi" src="res/icon/android/ldpi.png"/>
<icon density="mdpi" src="res/icon/android/mdpi.png"/>
<icon density="hdpi" src="res/icon/android/hdpi.png"/>
<icon density="xhdpi" src="res/icon/android/xhdpi.png"/>
<icon density="xxhdpi" src="res/icon/android/xxhdpi.png"/>
<icon density="xxxhdpi" src="res/icon/android/xxxhdpi.png"/>
<icon background="@color/background" density="ldpi" foreground="res/icon/android/ldpi.png"/>
<icon background="@color/background" density="mdpi" foreground="res/icon/android/mdpi.png"/>
<icon background="@color/background" density="hdpi" foreground="res/icon/android/hdpi.png"/>
<icon background="@color/background" density="xhdpi" foreground="res/icon/android/xhdpi.png"/>
<icon background="@color/background" density="xxhdpi" foreground="res/icon/android/xxhdpi.png"/>
<icon background="@color/background" density="xxxhdpi" foreground="res/icon/android/xxxhdpi.png"/>

<!-- Portrait -->
<splash density="port-ldpi" src="res/screen/android/splash-port-ldpi.png"/>
Expand Down

0 comments on commit 245e3a9

Please sign in to comment.