mirror of
https://github.com/phonegap/phonegap-start.git
synced 2026-01-09 14:37:55 -05:00
Improving the comments for the app icon setting.
There is a lot of confusion over what is the right way to set app icons. I myself struggled with this setting because the default icons generated by phonegap are also named "icon.png". When I placed an `icon.png` inside `img` folder, it didn't work. It's important to make it explicit in the documentation that the setting is taken relative the `config.xml` location.
This commit is contained in:
@@ -68,7 +68,9 @@
|
||||
<gap:plugin name="com.phonegap.plugins.barcodescanner" />
|
||||
-->
|
||||
|
||||
<!-- Define app icon for each platform. -->
|
||||
<!-- Define app icon for each platform. This is a relative path to config.xml.
|
||||
For e.g. if you place an icon.png inside res folder, you should modify the
|
||||
src in the following setting to "res/icon.png" -->
|
||||
<icon src="icon.png" />
|
||||
<icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi" />
|
||||
<icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi" />
|
||||
|
||||
Reference in New Issue
Block a user