[AC-4244] Android Popup material compliant
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-08-05T18:31:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android |
Reporter | Baharroth |
Assignee | Shak Hossain |
Created | 2016-07-26T15:07:53.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
Screenshot_2016-07-26-16-31-33.png | 2016-07-26T15:07:37.000+0000 | 77994 |
Screenshot_2016-07-26-16-35-53.png | 2016-07-26T15:07:37.000+0000 | 78452 |
Hello, I can con reproduce the issue you mentioned. I can generate the behavior as second screenshot. (Right alignment). Not a valid bug. Thanks.