Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1987] Android: nine-patch image issue with Ti SDK 3.1.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-05-31T19:49:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsregression
ReporterSaurav Nagpal
AssigneeMauro Parra-Miranda
Created2013-05-22T11:57:53.000+0000
Updated2016-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

FileDateSize
Screenshot-SDK-3.0.2.png2013-05-23T05:41:55.000+000026269
Screenshot-SDK-3.1.0.png2013-05-23T05:41:55.000+000029812
SDKTestCase.zip2013-05-22T11:57:53.000+00005981794

Comments

  1. Daniel Sefton 2013-05-22

    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?
  2. Saurav Nagpal 2013-05-23

    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.
  3. Daniel Sefton 2013-05-31

    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.
  4. Mauro Parra-Miranda 2013-11-22

    Tested in 3.1.3, works fine.

JSON Source