{ "id": "92991", "key": "AC-2918", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-06-11T11:59:39.000+0000", "created": "2012-06-08T07:38:33.000+0000", "labels": [ "view" ], "versions": [], "issuelinks": [], "assignee": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The following code is meant to replicate an issue I'm having showing ads on Android. Basically if I render the ad off the screen and then move to display it nothing shows up. As seen below it has nothing to do with the ads themselves as the issue occurs with just a plain view. This works on IOS. On iOS a blue bar with an image loads up after 2 seconds. On Android, nothing, no blue bar and no image.\r\n\r\napp.js\r\n\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nnavWindow = Ti.UI.createWindow();\r\n \r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff',\r\n layout:'vertical'\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n height:Ti.Platform.displayCaps.platformHeight,\r\n backgroundColor:'red'\r\n});\r\n \r\nwin1.add(view);\r\n var view2 = Ti.UI.createView({\r\n backgroundColor:'blue',\r\n height:0\r\n });\r\n \r\nvar img = Ti.UI.createImageView({\r\n image:'KS_nav_ui.png'\r\n}) ;\r\nview2.add(img);\r\n \r\nwin1.add(view2);\r\n \r\nwin1.open();\r\n \r\nsetTimeout(function(){\r\n view.height=Ti.Platform.displayCaps.platformHeight-75;\r\n view2.height=75;\r\n},2000);\r\n", "attachment": [], "flagged": false, "summary": "Android View Parity Issue", "creator": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Multiple 2.0.x and 2.1.x builds \r\nAndroid Emulator and Device", "comment": { "comments": [ { "id": "198024", "author": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi I was the person who added this, it can be resolved, it was an error on my part. There still does seem to be an issue but it's specific to admob ads not views in general.", "updateAuthor": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T11:34:23.000+0000", "updated": "2012-06-11T11:34:23.000+0000" }, { "id": "198027", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Frank Apap Please update test case if its still a parity bug. Otherwise upload ZIP project sample so we can replicate this module issue quicker.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T11:49:07.000+0000", "updated": "2012-06-11T11:49:07.000+0000" }, { "id": "198031", "author": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The case can be closed. I'll enter a separate ticket (under the proper name) for the module issue once I fully qualify it.\r\n", "updateAuthor": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T11:53:29.000+0000", "updated": "2012-06-11T11:53:29.000+0000" }, { "id": "198032", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Okay, closing.\r\n\r\nYou can create any time a jira ticket attaching resources and adding all pertinent comments so we can dig into it pretty further.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T11:59:39.000+0000", "updated": "2012-06-11T11:59:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }