{ "id": "120483", "key": "TIMOB-15351", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-10-08T16:05:28.000+0000", "created": "2013-09-26T13:51:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ipass1", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-28T21:18:18.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. Description of the problem\r\nWhen setting the style of the ActivityIndicator in Android, the color never gets changed.\r\n\r\nh2. Steps to reproduce\r\nUse the following code; testing on Android does not work, while iPhone is ok:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'gray',\r\n\tlayout: 'vertical'\r\n});\r\n\r\nvar style = (Ti.Platform.osname == 'android') ? Ti.UI.ActivityIndicatorStyle : Ti.UI.iPhone.ActivityIndicatorStyle;\r\n\r\nvar ind1 = Ti.UI.createActivityIndicator({\r\n\tstyle: style.PLAIN,\r\n\tmessage: 'Plain indicator',\r\n\ttop: 50\r\n});\r\nind1.show();\r\n\r\nvar ind2 = Ti.UI.createActivityIndicator({\r\n\tstyle: style.DARK,\r\n\tmessage: 'Dark indicator',\r\n\ttop: 50\r\n});\r\nind2.show();\r\n\r\nwin.add(ind1);\r\nwin.add(ind2);\r\n\r\nwin.open();\r\n{code}\r\n\r\nSee screenshots attached.", "attachment": [ { "id": "42784", "filename": "iOS Simulator Screen shot 26 Sep 2013 15.45.10.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-26T13:51:10.000+0000", "size": 27500, "mimeType": "image/png" }, { "id": "42783", "filename": "Screenshot_2013-09-26-15-46-48.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-26T13:51:10.000+0000", "size": 34165, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ActivityIndicator style is not working properly on Android", "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\nAndroid 4.3", "comment": { "comments": [ { "id": "274169", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This is Android behavior where the inverse style (DARK) will use the right color scheme for a light theme, it may not be always DARK.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-08T16:05:28.000+0000", "updated": "2013-10-08T16:05:28.000+0000" }, { "id": "416062", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-28T21:18:18.000+0000", "updated": "2017-03-28T21:18:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }