Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4647] Android: Annotation with Image with transparency below certain size doesn't show up with density specific folders

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-12-01T14:34:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterRene Pot
AssigneeShak Hossain
Created2016-11-30T12:21:05.000+0000
Updated2016-12-01T14:34:25.000+0000

Description

When creating an annotation with transparency below a specific size (haven't figured out the exact size yet on which it triggers) the annotation doesn't show up when having the images in density specific folders. However, moving the images to the "images" folder in assets/android it will work. Increasing size or removing transparency also fixes the problem. Attached are 2 projects displaying the problem and the solution. Both are the same project but file structure is different. In the projects there are 4 annotations. Small one with transparency is the one with the problem. Small one without transparency works just fine. A bigger image (basically increased size 30%) will work in all situations.

Attachments

FileDateSize
doesntwork.zip2016-11-30T12:20:50.000+0000897310
works.zip2016-11-30T12:19:50.000+0000372291

Comments

  1. Sharif AbuDarda 2016-11-30

    Hello, I tried reproducing your issue with SDK 6.0.0.GA in Android 6.0.1 device. I wasn't able to reproduce the issue as you described. All four annotations show accordingly for both sample project. (despite images in density specific folder or assets/android folder. I am using map 3.0.1 for Android. Here are my environment details.
       Operating System
         Name                        = Mac OS X
         Version                     = 10.11.6
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       Node.js
         Node.js Version             = 4.2.2
         npm Version                 = 2.14.7
       Titanium CLI
         CLI Version                 = 5.0.10
       Titanium SDK
         SDK Version                 = 6.0.0.GA
         Target Platform             = android 6.0.1 Galaxy j7(6)
       

JSON Source