[AC-1987] Android: nine-patch image issue with Ti SDK 3.1.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-31T19:49:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | regression |
Reporter | Saurav Nagpal |
Assignee | Mauro Parra-Miranda |
Created | 2013-05-22T11:57:53.000+0000 |
Updated | 2016-03-08T07:40:55.000+0000 |
Description
*Problem*
Nine-Patch images as a view background are getting stretched on Ti SDK 3.1 GA and above. It works fine with 3.0.2 GA.
*Test case*
See attached Alloy project.
Attachments
File | Date | Size |
---|---|---|
Screenshot-SDK-3.0.2.png | 2013-05-23T05:41:55.000+0000 | 26269 |
Screenshot-SDK-3.1.0.png | 2013-05-23T05:41:55.000+0000 | 29812 |
SDKTestCase.zip | 2013-05-22T11:57:53.000+0000 | 5981794 |
I tried your test case on 3.0.2 GA, 3.1 GA and 3.2 CI, it looks exactly the same on all of them. Could you attach a screenshot of what it looks like for you with 3.0.2 GA? What version of Android? Maybe it's OS version specific?
Hello Daniel The device i am using is samsung S3 with Android 4.1.1. I am also attaching the screen shoot with different SDK version. It is looking perfect with SDK version 3.0.2 and distorted on 3.1.0.
Reproduced issue on Samsung Galaxy S2 2.3.6 and 4.1.2 x86 emulator with Ti SDK 3.1 GA. Issue no longer occurs in 3.1.1 RC. Resolving as fixed.
Tested in 3.1.3, works fine.