cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5908) Splashscreen docs are conflicting
Date Mon, 10 Feb 2014 21:59:19 GMT

    [ https://issues.apache.org/jira/browse/CB-5908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897081#comment-13897081
] 

ASF subversion and git services commented on CB-5908:
-----------------------------------------------------

Commit 87285d94f7f3a9169444692876f5b1287695ac1e in branch refs/heads/master from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=87285d9 ]

CB-5908: add splascreen images to template

This will enable the default splashscreens to reside in the correct place
after creating a new project. Before only the default icons were present.
I copied these from cordova-app-hello-world.


> Splashscreen docs are conflicting
> ---------------------------------
>
>                 Key: CB-5908
>                 URL: https://issues.apache.org/jira/browse/CB-5908
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 3.3.0
>            Reporter: John M. Wargo
>            Assignee: Marcel Kinard
>            Priority: Minor
>
> the documentation her: http://cordova.apache.org/docs/en/3.3.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
is inaccurate. 
> The res folder was dropped in a previous version of the CLI, but the instructions still
say to copy the files from the res folder.
> the instructions also say that you want to copy the files to screen.png, but what follows
those instructions says you want to set the files to splash. The two are in conflict. Later
it mentions to change it to screen, but why tell me screen then splash then tell me to change
splash to screen?
> Lastly, it tells me I need to add some settings to the config.xml, but which of the three
config.xml files? It says the project's www folder, and I'm assuming that's the high level
www folder, but these are Android-specific settings, so what happens with them on other platforms?
 this is all really unclear.
> Here's the sections from the docs:
> If you want to use the default splash screen images provided in Cordova, you'll need
to copy the png files from platforms/android/www/res/screen/android to platforms/android/res/drawable*/:
> cd platforms/android/res
> mkdir drawable-port-ldpi
> cp -p ../assets/www/res/screen/android/screen-ldpi-portrait.png drawable-port-ldpi/screen.png
> mkdir drawable-land-ldpi
> cp -p ../assets/www/res/screen/android/screen-ldpi-landscape.png drawable-land-ldpi/screen.png
> mkdir drawable-port-mdpi
> cp -p ../assets/www/res/screen/android/screen-mdpi-portrait.png drawable-port-mdpi/screen.png
> mkdir drawable-land-mdpi
> cp -p ../assets/www/res/screen/android/screen-mdpi-landscape.png drawable-land-mdpi/screen.png
> mkdir drawable-port-hdpi
> cp -p ../assets/www/res/screen/android/screen-hdpi-portrait.png drawable-port-hdpi/screen.png
> mkdir drawable-land-hdpi
> cp -p ../assets/www/res/screen/android/screen-hdpi-landscape.png drawable-land-hdpi/screen.png
> mkdir drawable-port-xhdpi
> cp -p ../assets/www/res/screen/android/screen-xhdpi-portrait.png drawable-port-xhdpi/screen.png
> mkdir drawable-land-xhdpi
> cp -p ../assets/www/res/screen/android/screen-xhdpi-landscape.png drawable-land-xhdpi/screen.png
> The drawable directory names must follow the Android conventions for supporting screen
sizes and alternate resources.
> In config.xml in the project's www directory, add the following preferences:
> <preference name="SplashScreen" value="splash" />
> <preference name="SplashScreenDelay" value="10000" />



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message