class AboutViewSourceDialog : DialogFragment() {
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Use a builder to create the alert dialog.
class AboutViewSourceDialog : DialogFragment() {
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Use a builder to create the alert dialog.
dialogBuilder.setNegativeButton(R.string.close, null)
// Create an alert dialog from the alert dialog builder.
dialogBuilder.setNegativeButton(R.string.close, null)
// Create an alert dialog from the alert dialog builder.