{ "id": "162098", "key": "AC-4244", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-05T18:31:53.000+0000", "created": "2016-07-26T15:07:53.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-05T18:31:53.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": "Following the google guideline for Material design.\r\nA dialog with 2 buttons will be align on the left and not 1 left and 1 right.\r\n\r\nThere is a workaround : insert a empty button...but it's not parity check, because IOS will create a empty button\r\n\r\nhttps://material.google.com/components/dialogs.html#dialogs-behavior\r\n\r\nSo please fix this issue :)\r\n\r\nvar popup = Ti.UI.createAlertDialog({\r\n\t\ttitle : 'Hey you !',\r\n\t\tmessage : 'Will you try to fix the issue ?',\r\n\t\tbuttonNames : ['No','', 'Of course']\r\n\t});\r\npopup.show();\r\n", "attachment": [ { "id": "59917", "filename": "Screenshot_2016-07-26-16-31-33.png", "author": { "name": "baharroth", "key": "baharroth", "displayName": "Baharroth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T15:07:37.000+0000", "size": 77994, "mimeType": "image/png" }, { "id": "59916", "filename": "Screenshot_2016-07-26-16-35-53.png", "author": { "name": "baharroth", "key": "baharroth", "displayName": "Baharroth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T15:07:37.000+0000", "size": 78452, "mimeType": "image/png" } ], "flagged": false, "summary": "Android Popup material compliant", "creator": { "name": "baharroth", "key": "baharroth", "displayName": "Baharroth", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "baharroth", "key": "baharroth", "displayName": "Baharroth", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 5.2", "comment": { "comments": [ { "id": "392214", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I can con reproduce the issue you mentioned. I can generate the behavior as second screenshot. (Right alignment). Not a valid bug. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-08-02T16:24:39.000+0000", "updated": "2016-08-02T16:24:39.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }