Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19190] Android: Material Theme - 9 patch splash not displayed correctly

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2015-07-09T07:07:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterShawn Lan
AssigneeIngo Muschenetz
Created2015-07-08T01:30:01.000+0000
Updated2017-03-24T17:41:07.000+0000

Description

Attached background.9.png is a simple 9 patch splash screen. Put it into the density folders: {appname}/platform/android/res/drawable-mdpi/ {appname}/platform/android/res/drawable-hdpi/ {appname}/platform/android/res/drawable-xhdpi/ {appname}/platform/android/res/drawable-xxhdpi/ Run the app using Material Theme with SDK 4.0.0 on Android 5.0, you'll see the splash screen come out like result.png (black spots).

Attachments

FileDateSize
background.9.png2015-07-08T01:23:21.000+000033385
result.png2015-07-08T01:27:11.000+000061504
Screen Shot 2015-07-08 at 11.56.25 AM.png2015-07-08T06:00:58.000+000058291

Comments

  1. Shawn Lan 2015-07-08

    If I add the optional padding box to the 9 patch png, the issue will be gone.
  2. Fokke Zandbergen 2015-07-09

    This is not a bug but a new (not clearly documented) requirement on Android 5.0+ to have padding box on nine-patch. I'll soon do a blog post about it.
  3. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source