Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14508] Android : 9 patch image for splash screen stretches unevenly

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-07-22T18:55:21.000+0000
Affected Version/sRelease 3.1.0, Release 3.1.1
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, splash-screen
ReporterMeenakshi Pathak
AssigneeIngo Muschenetz
Created2013-07-10T11:45:15.000+0000
Updated2017-03-23T18:03:54.000+0000

Description

9 patch image for splash screen stretches unevenly. Steps to Reproduce : 1. Create an alloy project in Titanium studio. 2. Under project folder, paste the attached platform folder. Custom theme is applied for 9 patch image under this folder. Please Find the 9 patch image under platform/android/res/drawable/splash.9.png. 3. Run the sample and see how the splash screen stretches unevenly. 4. Please find the attached screenshot of the splash screen.

Attachments

FileDateSize
platform.zip2013-07-10T11:45:15.000+00003100
splashOffCenter.JPG2013-07-10T11:45:15.000+000027210

Comments

  1. Ping Wang 2013-07-22

    Using 9 patch splash screen in a custom theme does not work as expect even in an Android native app. Already filed a doc ticket TIDOC-1203 . Resolve this ticket as a duplicate.
  2. Ping Wang 2013-10-28

    Similar discussion http://stackoverflow.com/questions/13298987/9patch-is-stretching-areas-i-didnt-mark
  3. Lee Morris 2017-03-23

    Closing ticket as duplicate with reference to the linked issues above.

JSON Source