{ "id": "120336", "key": "TIMOB-15311", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-18T19:02:33.000+0000", "created": "2013-09-23T12:37:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_activityindicator", "qe-manualtest", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-11-19T22:44:17.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem description\r\nWhen adding an ActivityIndicator to a TableViewRow, the indicator is not shown in Android. This works fine on iOS.\r\n\r\nh2. Code to reproduce\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\t\r\nvar row = Ti.UI.createTableViewRow({\r\n\theight: 80\r\n});\r\n\r\nvar activityIndicator = Ti.UI.createActivityIndicator({\r\n\tmessage: 'loading...',\r\n\tstyle: Ti.Platform.osname == \"android\" ? Titanium.UI.ActivityIndicatorStyle.DARK : Titanium.UI.iPhone.ActivityIndicatorStyle.DARK\r\n});\r\n\r\nrow.add(activityIndicator);\r\n\r\nvar table = Ti.UI.createTableView( {\r\n\tbackgroundColor:'white',\r\n\tdata: [row]\r\n});\r\n\r\nwin1.add(table);\r\nwin1.open();\r\n\r\nactivityIndicator.show();\r\n{code}\r\n\r\nh2. Note\r\nThe indicator seems to be showing if I add a setTimeout to show it; tried with 1s delay.", "attachment": [], "flagged": false, "summary": "Android: ActivityIndicator is not working when added to TableViewRow", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 3.1.3\r\nSDK 3.1.0\r\nAndroid 4.3", "comment": { "comments": [ { "id": "273319", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tried with latest master, android 4.3 on Google Galaxy Nexus, indicator is working.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-29T12:41:31.000+0000", "updated": "2013-09-29T12:41:31.000+0000" }, { "id": "273352", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "The issue cannot reproduce with the release master 3.2.0\nTested with: \nTitanium SDK version: 3.2.0\nTested on\nDevice: Samsung galaxy s duos Android version: 4.0.4", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-30T12:00:50.000+0000", "updated": "2013-09-30T12:00:50.000+0000" }, { "id": "274388", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "When creating the native control, if the control was already visible, make sure that the native control is visible by sending message to make the control visible. \r\nhttps://github.com/appcelerator/titanium_mobile/pull/4776", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-09T16:24:37.000+0000", "updated": "2013-10-09T16:24:37.000+0000" }, { "id": "275706", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR + FR", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T19:02:33.000+0000", "updated": "2013-10-18T19:02:33.000+0000" }, { "id": "275751", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131017152001 \nCLI 3.2.0\nTitanium Studio 3.2.0.201310152326\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T22:20:29.000+0000", "updated": "2013-10-18T22:20:29.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }