[
https://issues.apache.org/jira/browse/CB-7809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177203#comment-14177203
]
Steve Husting edited comment on CB-7809 at 10/20/14 6:23 PM:
-------------------------------------------------------------
Clarification: When we do a cordova platform add android, all the screen and
icon files are generated in the /platforms/android folder. To encourage people
to use the config.xml page, all icon and screen folders should be generated in
a myApp/res/screen/android/* folders. People would see that folder and the
config.xml page and understand where to put their icons and screens.
Right now they see the icons and screens in the current /platforms/android/*
locations and wonder how to use the config.xml for icons and screens. If the
myApp/res/* folder was created upon cordova platform add android, there would
be no doubt, and the workflow would simply work.
To clarify further, the entire myApp/platforms/android/* structure can be
placed in myApp/res/android/* as is (with the exception of /values and /xml).
That way, all icons would be named "icon.png" and screens "screen.png" in order
to fulfill <preference name="splashscreen" value="screen">
was (Author: websteve):
Clarification: When we do a cordova platform add android, all the screen and
icon files are generated in the /platforms/android folder. To encourage people
to use the config.xml page, all icon and screen folders should be generated in
a myApp/res/screen/android/* folders. People would see that folder and the
config.xml page and understand where to put their icons and screens.
Right now they see the icons and screens in the current /platforms/android/*
locations and wonder how to use the config.xml for icons and screens. If the
myApp/res/* folder was created upon cordova platform add android, there would
be no doubt, and the workflow would simply work.
To clarify further, the entire myApp/platforms/android/* structure can be
placed in myApp/res/android/* as is (with the exception of /values and /xml).
> Put default app images in www/res
> ---------------------------------
>
> Key: CB-7809
> URL: https://issues.apache.org/jira/browse/CB-7809
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaLib
> Affects Versions: 3.5.0
> Environment: Any Environment
> Reporter: Steve Husting
> Priority: Trivial
> Labels: icons, splashscreen
>
> People are confused about how to update the splash screens during their
> Android build. Why not place all the default app helloCordova icons and
> splashes in the location you recommend, in /helloCordova/android/res/*
> instead of in /helloCordova/platforms/android/res/*? Then fill the config.xml
> with the lines needed to port the files over to Android via CLI as you
> recommend.
> This example of proper placement and config.xml usage will remove all users'
> doubts about where to put the icons and splashes.
> I assume you could programmatically set up the default app so that the entire
> /platforms/android/res folder structure is reproduced in
> /helloCordova/android/res/ to make it easy to understand where to put the
> user's own files. They'll replace those icon.pngs and screen.pngs with their
> own. You would program the same thing with iOS files in
> /hellocordova/ios/res/ .
> Just a suggestion!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]