From 548c94b775c14e3686dab1ff9d8ef2c07493c482 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 14 Aug 2019 17:41:35 +0800 Subject: [PATCH] up --- .../app/ui/changesource/ChangeSourceDialog.kt | 20 +++++++++++++++++++ .../main/res/layout/dialog_change_source.xml | 7 +++++++ 2 files changed, 27 insertions(+) create mode 100644 app/src/main/res/layout/dialog_change_source.xml diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt index 455615940..54a8deffe 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt @@ -1,2 +1,22 @@ package io.legado.app.ui.changesource +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.fragment.app.DialogFragment +import io.legado.app.R + + +class ChangeSourceDialog : DialogFragment() { + + + override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { + return inflater.inflate(R.layout.dialog_change_source, container) + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + } + +} \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_change_source.xml b/app/src/main/res/layout/dialog_change_source.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/dialog_change_source.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file