Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3153] Android: AlertDialog only shows three buttons in Android (mobile)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-11T23:24:46.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi
ReporterMario
AssigneeIngo Muschenetz
Created2011-04-15T03:38:09.000+0000
Updated2017-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();

Comments

  1. Junaid Younus 2012-08-31

    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();
       
  2. Lee Morris 2017-07-11

    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.

JSON Source