Open mtotschnig opened 8 years ago
If you try to set a dialog title for a Caldroid dialog with
CaldroidFragment f = new CaldroidFragment(); Bundle args = new Bundle(); args.putString(DIALOG_TITLE, "My dialog title"); f.setArguments(args);
the title is not shown on Marshmallow devices.
The default for windowNoTitle is false for Lollipop and below, but true on Marshmallow. Compare with http://stackoverflow.com/a/32711916/1199911
Set windowNotTitle explicitly to false.
Problem:
If you try to set a dialog title for a Caldroid dialog with
the title is not shown on Marshmallow devices.
Reason
The default for windowNoTitle is false for Lollipop and below, but true on Marshmallow. Compare with http://stackoverflow.com/a/32711916/1199911
Solution
Set windowNotTitle explicitly to false.