|
|
|
@ -9,7 +9,6 @@ import android.view.View |
|
|
|
|
import android.view.ViewGroup |
|
|
|
|
import androidx.appcompat.widget.Toolbar |
|
|
|
|
import androidx.lifecycle.LiveData |
|
|
|
|
import androidx.recyclerview.widget.LinearLayoutManager |
|
|
|
|
import io.legado.app.App |
|
|
|
|
import io.legado.app.R |
|
|
|
|
import io.legado.app.base.BaseDialogFragment |
|
|
|
@ -59,7 +58,6 @@ class SpeakEngineDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener |
|
|
|
|
private fun initView() = with(binding) { |
|
|
|
|
toolBar.setBackgroundColor(primaryColor) |
|
|
|
|
toolBar.setTitle(R.string.speak_engine) |
|
|
|
|
recyclerView.layoutManager = LinearLayoutManager(requireContext()) |
|
|
|
|
adapter = Adapter(requireContext()) |
|
|
|
|
recyclerView.adapter = adapter |
|
|
|
|
tvFooterLeft.setText(R.string.local_tts) |
|
|
|
|