{ "id": "63785", "key": "TIMOB-3153", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-07-11T23:24:46.000+0000", "created": "2011-04-15T03:38:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-11T23:24:46.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": "{html}

Hi all,

\r\n

I'm currently using Titanium 1.6

\r\n

I created an AlertDialog with 6 buttons, but only three buttons\r\nare shown.

\r\n

Example
\r\nvar itsAlert = Titanium.UI.createAlertDialog({
\r\ntitle: \"Title\"});

\r\n

itsAlert.buttonNames = ['A', 'B', 'C', 'D' ,'E', 'Cancel'];

\r\n

itsAlert.message = \"A. Werkt als een zonnetje\\nB. Werk niet zo\r\ngoed\\nC. Werkt slecht\\nD. Werkt niet helemaal volgens de\r\ngebruikers
\r\nrichtlijnen van paragraaf 2.3.1 in Docno BC1233030303-30303-Q\\nE.\r\nGeen mening\";

\r\n

itsAlert.show();

{html}", "attachment": [], "flagged": false, "summary": "Android: AlertDialog only shows three buttons in Android (mobile)", "creator": { "name": "mario", "key": "mario", "displayName": "Mario", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mario", "key": "mario", "displayName": "Mario", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "217206", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120830102513, issue still valid. \r\nOn iOS, it also has a weird behavior, please run and see on the iOS simulator.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar alert = Ti.UI.createAlertDialog({title: 'Title'});\r\nalert.buttonNames = ['A', 'B', 'C', 'D', 'E', 'F', 'Cancel'];\r\nalert.message = 'Hey';\r\n\r\nwin.addEventListener('click', function(e)\r\n{\r\n alert.show();\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-31T11:56:10.000+0000", "updated": "2012-08-31T11:56:10.000+0000" }, { "id": "423967", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T23:24:46.000+0000", "updated": "2017-07-11T23:24:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }