Dailogs - Part 3, Customization Finale | Dialog.onCreateView
У вашего броузера проблема в совместимости с HTML5
In this final video on Android Dialogs, we have a look at how to create a Dialog with custom layout. Since DialogFragment is subclass of Fragment, you basically get started by overriding the onCreateView to inflate a layout file. You can invoke setStyle to customize the style and and also use getDialog.setTitle() to set a String as title to the custom DialogFragment. To communicate from the DialogFragment to Activity/Fragment from which it was triggered, we can use call back interface and call back method. In this video we go through all of these through a working code demonstration.
Follow me on Twitter: https://twitter.com/anilvdeshpande/
Github link to source code:
Without "None": https://github.com/AnilDeshpande/DialogDemo/tree/without-add
With "None": https://github.com/AnilDeshpande/DialogDemo/tree/with-add