[TIMOB-3153] Android: AlertDialog only shows three buttons in Android (mobile)
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-07-11T23:24:46.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | api |
| Reporter | Mario |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:38:09.000+0000 |
| Updated | 2017-07-11T23:24:46.000+0000 |
Description
Hi all,
I'm currently using Titanium 1.6
I created an AlertDialog with 6 buttons, but only three buttons are shown.
Example
var itsAlert = Titanium.UI.createAlertDialog({
title: "Title"});
itsAlert.buttonNames = ['A', 'B', 'C', 'D' ,'E', 'Cancel'];
itsAlert.message = "A. Werkt als een zonnetje\nB. Werk niet zo
goed\nC. Werkt slecht\nD. Werkt niet helemaal volgens de
gebruikers
richtlijnen van paragraaf 2.3.1 in Docno BC1233030303-30303-Q\nE.
Geen mening";
itsAlert.show();
Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120830102513, issue still valid. On iOS, it also has a weird behavior, please run and see on the iOS simulator.
var win = Ti.UI.createWindow({backgroundColor: 'white'}); var alert = Ti.UI.createAlertDialog({title: 'Title'}); alert.buttonNames = ['A', 'B', 'C', 'D', 'E', 'F', 'Cancel']; alert.message = 'Hey'; win.addEventListener('click', function(e) { alert.show(); }); win.open();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.