Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4244] Android Popup material compliant

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2016-08-05T18:31:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterBaharroth
AssigneeShak Hossain
Created2016-07-26T15:07:53.000+0000
Updated2016-08-05T18:31:53.000+0000

Description

Following the google guideline for Material design. A dialog with 2 buttons will be align on the left and not 1 left and 1 right. There is a workaround : insert a empty button...but it's not parity check, because IOS will create a empty button https://material.google.com/components/dialogs.html#dialogs-behavior So please fix this issue :) var popup = Ti.UI.createAlertDialog({ title : 'Hey you !', message : 'Will you try to fix the issue ?', buttonNames : ['No','', 'Of course'] }); popup.show();

Attachments

FileDateSize
Screenshot_2016-07-26-16-31-33.png2016-07-26T15:07:37.000+000077994
Screenshot_2016-07-26-16-35-53.png2016-07-26T15:07:37.000+000078452

Comments

  1. Sharif AbuDarda 2016-08-02

    Hello, I can con reproduce the issue you mentioned. I can generate the behavior as second screenshot. (Right alignment). Not a valid bug. Thanks.

JSON Source