pull/32/head
kunfei 5 years ago
parent 44e1c465d5
commit a7cc477e69
  1. 24
      app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt
  2. 8
      app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudPopup.kt
  3. 7
      app/src/main/res/layout/dialog_read_aloud.xml

@ -0,0 +1,24 @@
package io.legado.app.ui.readbook.config
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 ReadAloudDialog : DialogFragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
return inflater.inflate(R.layout.dialog_read_aloud, container)
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
}
}

@ -1,8 +0,0 @@
package io.legado.app.ui.readbook.config
import android.content.Context
import android.widget.PopupWindow
class ReadAloudPopup(context: Context?) : PopupWindow(context) {
}

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
Loading…
Cancel
Save