[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-10-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14162204#comment-14162204
 ] 

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

Commit 95e8c3d16f12ef3a132abaa5ce14e6151146b509 in cordova-lib's branch 
refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=95e8c3d ]

CB-7607 Add xxhdpi and xxxhdpi support to Android Cordova


 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-10-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14162209#comment-14162209
 ] 

ASF GitHub Bot commented on CB-7607:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/97


 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-10-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14157388#comment-14157388
 ] 

ASF GitHub Bot commented on CB-7607:


GitHub user dpogue opened a pull request:

https://github.com/apache/cordova-lib/pull/97

xxhdpi/xxxhdpi and 9-patch splash image support for Android

This combines #89 and #87 so that they won't conflict with each other.
/cc @sgrebnov 

From #89:
 https://issues.apache.org/jira/browse/CB-7607

 Current Cordova template for Android does not have res sub-folders for xx 
and xxxhdpi plus due to current
 splash/icons support implementation it is possible to replace already 
existing drawables only(see var 
 densities = this.deleteDefaultResource(...)). I don't think we should 
always keep new hi res images as part
 of default template due to the their big size so this commit improves 
splash/icons support implementation
 to make it possible to add drawables for the densities which are not 
present in template by default.

 Example configuration for xxhdpi and xxxhdpi assets:

 ```
 icon src=res/android/xxhdpi.png density=xxhdpi /
 icon src=res/android/xxxhdpi.png density=xxxhdpi /

 splash src=res/android/land-xxhdpi.png density=land-xxhdpi /
 splash src=res/android/port-xxhdpi.png density=port-xxhdpi /

 splash src=res/android/land-xxxhdpi.png density=land-xxxhdpi /
 splash src=res/android/port-xxxhdpi.png density=port-xxxhdpi /
 ```

From #87:
 https://issues.apache.org/jira/browse/CB-7598

 If a splashscreen image for Android is specified in config.xml and ends 
with .9.png, it is a 9-patch image
 and should retain that extension when copied into the platforms/android 
directory.

 Currently the file will be renamed to screen.png when it should be 
screen.9.png.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dpogue/cordova-lib android-resources

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-lib/pull/97.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #97


commit 0cbb047f37ca275c07b8ef033807263fd580c571
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-09-22T18:13:57Z

CB-7607 Add xxhdpi and xxxhdpi support to Android Cordova

commit e1c9537d5d1640981b0cb1e56de5441db040ea05
Author: Darryl Pogue dvpdin...@gmail.com
Date:   2014-10-02T23:10:53Z

CB-7598 Support for 9-patch Android splash images




 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-09-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14143119#comment-14143119
 ] 

ASF GitHub Bot commented on CB-7607:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-lib/pull/89

CB-7607 Add xxhdpi and xxxhdpi support to Android Cordova

https://issues.apache.org/jira/browse/CB-7607

Current Cordova template for Android does not have res sub-folders for xx 
and xxxhdpi plus due to current splash/icons support implementation it is 
possible to replace already existing drawables only(see var densities = 
this.deleteDefaultResource(...)). I don't think we should always keep new hi 
res images as part of default template due to the their big size so this commit 
improves splash/icons support implementation to make it possible to add 
drawables for the densities which are not present in template by default.

Example configuration for xxhdpi and xxxhdpi assets:
```
icon src=res/android/xxhdpi.png density=xxhdpi /
icon src=res/android/xxxhdpi.png density=xxxhdpi /

splash src=res/android/land-xxhdpi.png density=land-xxhdpi /
splash src=res/android/port-xxhdpi.png density=port-xxhdpi /

splash src=res/android/land-xxxhdpi.png density=land-xxxhdpi /
splash src=res/android/port-xxxhdpi.png density=port-xxxhdpi /
```


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-lib CB-7607

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-lib/pull/89.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #89


commit f01e5b76ca67f728ce5680be252985574924e536
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-09-22T11:19:37Z

CB-7607 Add xxhdpi and xxxhdpi support to Android Cordova




 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-09-22 Thread Sergey Grebnov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14143120#comment-14143120
 ] 

Sergey Grebnov commented on CB-7607:


Pull Request above allows developer to specify hi-res drawables via config.xml

 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CB-7607) Add xxhdpi and xxxhdpi support to Android Cordova

2014-09-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14144116#comment-14144116
 ] 

ASF GitHub Bot commented on CB-7607:


Github user dpogue commented on the pull request:

https://github.com/apache/cordova-lib/pull/89#issuecomment-56463872
  
:+1: although I'm wondering whether the code reorganization makes it harder 
to support 9-patch splash screen images 
(https://github.com/apache/cordova-lib/pull/87)


 Add xxhdpi and xxxhdpi support to Android Cordova
 -

 Key: CB-7607
 URL: https://issues.apache.org/jira/browse/CB-7607
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib
Reporter: Sergey Grebnov
  Labels: android, assets, cordova-lib, icons, splashscreen

 xxhdpi and xxxhdpi support is missing from Android Cordova implementation 
 (icons and splash images)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)