pull/1395/head
gedoor 3 years ago
parent 201b959b40
commit a53fcb164d
  1. 3
      app/build.gradle
  2. 8
      app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt
  3. 8
      app/src/main/java/io/legado/app/ui/about/UpdateDialog.kt
  4. 7
      app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt
  5. 7
      app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt
  6. 7
      app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt
  7. 5
      app/src/main/java/io/legado/app/ui/book/changecover/ChangeCoverDialog.kt
  8. 3
      app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceDialog.kt
  9. 5
      app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt
  10. 5
      app/src/main/java/io/legado/app/ui/book/group/GroupManageDialog.kt
  11. 5
      app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt
  12. 3
      app/src/main/java/io/legado/app/ui/book/read/PhotoDialog.kt
  13. 5
      app/src/main/java/io/legado/app/ui/book/read/config/PaddingConfigDialog.kt
  14. 3
      app/src/main/java/io/legado/app/ui/book/read/config/SpeakEngineDialog.kt
  15. 3
      app/src/main/java/io/legado/app/ui/book/read/config/TipConfigDialog.kt
  16. 3
      app/src/main/java/io/legado/app/ui/book/read/config/TocRegexDialog.kt
  17. 5
      app/src/main/java/io/legado/app/ui/book/source/manage/GroupManageDialog.kt
  18. 3
      app/src/main/java/io/legado/app/ui/book/toc/BookmarkDialog.kt
  19. 7
      app/src/main/java/io/legado/app/ui/config/DirectLinkUploadConfig.kt
  20. 3
      app/src/main/java/io/legado/app/ui/config/ThemeListDialog.kt
  21. 4
      app/src/main/java/io/legado/app/ui/dict/DictDialog.kt
  22. 3
      app/src/main/java/io/legado/app/ui/document/FilePickerDialog.kt
  23. 2
      app/src/main/java/io/legado/app/ui/login/RuleUiLoginDialog.kt
  24. 3
      app/src/main/java/io/legado/app/ui/replace/GroupManageDialog.kt
  25. 3
      app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt
  26. 19
      app/src/main/java/io/legado/app/ui/widget/dialog/CodeDialog.kt
  27. 5
      app/src/main/java/io/legado/app/ui/widget/dialog/TextDialog.kt
  28. 5
      app/src/main/java/io/legado/app/ui/widget/dialog/TextListDialog.kt
  29. 3
      app/src/main/java/io/legado/app/ui/widget/font/FontSelectDialog.kt
  30. 7
      app/src/main/java/io/legado/app/ui/widget/prefs/IconListPreference.kt
  31. 29
      app/src/main/java/io/legado/app/utils/DialogExtensions.kt
  32. 16
      app/src/main/res/layout/dialog_code_view.xml

@ -202,6 +202,9 @@ dependencies {
implementation("org.nanohttpd:nanohttpd:$nanoHttpdVersion")
implementation("org.nanohttpd:nanohttpd-websocket:$nanoHttpdVersion")
//
implementation('com.github.AmrDeveloper:CodeView:1.0.1')
//
implementation('com.github.jenly1314:zxing-lite:2.1.1')

@ -16,9 +16,9 @@ import io.legado.app.databinding.ItemAppLogBinding
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.dialog.TextDialog
import io.legado.app.utils.LogUtils
import io.legado.app.utils.setLayout
import io.legado.app.utils.showDialogFragment
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import splitties.views.onClick
import java.util.*
@ -31,11 +31,7 @@ class AppLogDialog : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * 0.9).toInt(),
ViewGroup.LayoutParams.WRAP_CONTENT
)
setLayout(0.9f, ViewGroup.LayoutParams.WRAP_CONTENT)
}
override fun onCreateView(

@ -10,9 +10,9 @@ import io.legado.app.databinding.DialogUpdateBinding
import io.legado.app.help.AppConfig
import io.legado.app.lib.theme.primaryColor
import io.legado.app.model.Download
import io.legado.app.utils.setLayout
import io.legado.app.utils.toastOnUi
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import io.noties.markwon.Markwon
import io.noties.markwon.ext.tables.TablePlugin
import io.noties.markwon.html.HtmlPlugin
@ -33,11 +33,7 @@ class UpdateDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * 0.9).toInt(),
ViewGroup.LayoutParams.WRAP_CONTENT
)
setLayout(0.9f, ViewGroup.LayoutParams.WRAP_CONTENT)
}
override fun onCreateView(

@ -26,11 +26,8 @@ import io.legado.app.help.AppConfig
import io.legado.app.lib.dialogs.alert
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.dialog.WaitDialog
import io.legado.app.utils.dp
import io.legado.app.utils.putPrefBoolean
import io.legado.app.utils.splitNotBlank
import io.legado.app.utils.*
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.visible
/**
@ -51,7 +48,7 @@ class ImportBookSourceDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickLi
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)

@ -25,11 +25,8 @@ import io.legado.app.databinding.ItemSourceImportBinding
import io.legado.app.lib.dialogs.alert
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.dialog.WaitDialog
import io.legado.app.utils.dp
import io.legado.app.utils.putPrefBoolean
import io.legado.app.utils.splitNotBlank
import io.legado.app.utils.*
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.visible
class ImportReplaceRuleDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickListener {
@ -46,7 +43,7 @@ class ImportReplaceRuleDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickL
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)

@ -26,11 +26,8 @@ import io.legado.app.help.AppConfig
import io.legado.app.lib.dialogs.alert
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.dialog.WaitDialog
import io.legado.app.utils.dp
import io.legado.app.utils.putPrefBoolean
import io.legado.app.utils.splitNotBlank
import io.legado.app.utils.*
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.visible
/**
* 导入rss源弹出窗口
@ -50,7 +47,7 @@ class ImportRssSourceDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickLis
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)

@ -13,8 +13,8 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.databinding.DialogChangeCoverBinding
import io.legado.app.lib.theme.primaryColor
import io.legado.app.utils.applyTint
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
class ChangeCoverDialog() : BaseDialogFragment(),
@ -38,8 +38,7 @@ class ChangeCoverDialog() : BaseDialogFragment(),
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -53,8 +53,7 @@ class ChangeSourceDialog() : BaseDialogFragment(),
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -37,9 +37,8 @@ class GroupEditDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * 0.9).toInt(),
setLayout(
0.9f,
ViewGroup.LayoutParams.WRAP_CONTENT
)
}

@ -25,10 +25,10 @@ import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.recycler.ItemTouchCallback
import io.legado.app.ui.widget.recycler.VerticalDivider
import io.legado.app.utils.applyTint
import io.legado.app.utils.setLayout
import io.legado.app.utils.showDialogFragment
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.visible
import io.legado.app.utils.windowSize
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
@ -40,8 +40,7 @@ class GroupManageDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -25,9 +25,9 @@ import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.recycler.ItemTouchCallback
import io.legado.app.ui.widget.recycler.VerticalDivider
import io.legado.app.utils.applyTint
import io.legado.app.utils.setLayout
import io.legado.app.utils.showDialogFragment
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
@ -50,8 +50,7 @@ class GroupSelectDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickListene
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -9,6 +9,7 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.databinding.DialogPhotoViewBinding
import io.legado.app.model.ReadBook
import io.legado.app.ui.book.read.page.provider.ImageProvider
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
@ -25,7 +26,7 @@ class PhotoDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT
)

@ -12,8 +12,8 @@ import io.legado.app.constant.EventBus
import io.legado.app.databinding.DialogReadPaddingBinding
import io.legado.app.help.ReadBookConfig
import io.legado.app.utils.postEvent
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
class PaddingConfigDialog : BaseDialogFragment() {
@ -21,14 +21,13 @@ class PaddingConfigDialog : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.let {
it.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND)
val attr = it.attributes
attr.dimAmount = 0.0f
it.attributes = attr
it.setLayout((dm.widthPixels * 0.9).toInt(), ViewGroup.LayoutParams.WRAP_CONTENT)
}
setLayout(0.9f, ViewGroup.LayoutParams.WRAP_CONTENT)
}
override fun onCreateView(

@ -68,8 +68,7 @@ class SpeakEngineDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -26,8 +26,7 @@ class TipConfigDialog : BaseDialogFragment() {
override fun onStart() {
super.onStart()
dialog?.window
?.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
}
override fun onCreateView(

@ -51,8 +51,7 @@ class TocRegexDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickListener {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.8).toInt())
setLayout(0.9f, 0.8f)
}
override fun onCreateView(

@ -25,9 +25,9 @@ import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.recycler.VerticalDivider
import io.legado.app.utils.applyTint
import io.legado.app.utils.requestInputMethod
import io.legado.app.utils.setLayout
import io.legado.app.utils.splitNotBlank
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
@ -39,8 +39,7 @@ class GroupManageDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -10,6 +10,7 @@ import io.legado.app.data.appDb
import io.legado.app.data.entities.Bookmark
import io.legado.app.databinding.DialogBookmarkBinding
import io.legado.app.lib.theme.primaryColor
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.launch
@ -27,7 +28,7 @@ class BookmarkDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)

@ -9,9 +9,9 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.databinding.DialogDirectLinkUploadConfigBinding
import io.legado.app.help.DirectLinkUpload
import io.legado.app.lib.theme.primaryColor
import io.legado.app.utils.setLayout
import io.legado.app.utils.toastOnUi
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import splitties.views.onClick
class DirectLinkUploadConfig : BaseDialogFragment() {
@ -20,9 +20,8 @@ class DirectLinkUploadConfig : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * 0.9).toInt(),
setLayout(
0.9f,
ViewGroup.LayoutParams.WRAP_CONTENT
)
}

@ -27,8 +27,7 @@ class ThemeListDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -11,6 +11,7 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.databinding.DialogDictBinding
import io.legado.app.utils.invisible
import io.legado.app.utils.setHtml
import io.legado.app.utils.setLayout
import io.legado.app.utils.toastOnUi
import io.legado.app.utils.viewbindingdelegate.viewBinding
@ -30,8 +31,7 @@ class DictDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
dialog?.window
?.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
}
override fun onCreateView(

@ -76,8 +76,7 @@ class FilePickerDialog : BaseDialogFragment(),
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.8).toInt())
setLayout(0.9f, 0.8f)
}
override fun onCreateView(

@ -32,7 +32,7 @@ class RuleUiLoginDialog : BaseDialogFragment() {
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(
setLayout(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT
)

@ -37,8 +37,7 @@ class GroupManageDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -37,8 +37,7 @@ class GroupManageDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -0,0 +1,19 @@
package io.legado.app.ui.widget.dialog
import android.os.Bundle
import android.view.View
import io.legado.app.base.BaseDialogFragment
import io.legado.app.utils.setLayout
class CodeDialog : BaseDialogFragment() {
override fun onStart() {
super.onStart()
setLayout(0.9f, 0.9f)
}
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
}
}

@ -8,8 +8,8 @@ import io.legado.app.R
import io.legado.app.base.BaseDialogFragment
import io.legado.app.databinding.DialogTextViewBinding
import io.legado.app.utils.setHtml
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
import io.noties.markwon.Markwon
import io.noties.markwon.ext.tables.TablePlugin
import io.noties.markwon.html.HtmlPlugin
@ -45,8 +45,7 @@ class TextDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -12,8 +12,8 @@ import io.legado.app.base.adapter.ItemViewHolder
import io.legado.app.base.adapter.RecyclerAdapter
import io.legado.app.databinding.DialogRecyclerViewBinding
import io.legado.app.databinding.ItemLogBinding
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
class TextListDialog() : BaseDialogFragment() {
@ -30,8 +30,7 @@ class TextListDialog() : BaseDialogFragment() {
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -65,8 +65,7 @@ class FontSelectDialog : BaseDialogFragment(),
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout((dm.widthPixels * 0.9).toInt(), (dm.heightPixels * 0.9).toInt())
setLayout(0.9f, 0.9f)
}
override fun onCreateView(

@ -21,8 +21,8 @@ import io.legado.app.databinding.DialogRecyclerViewBinding
import io.legado.app.databinding.ItemIconPreferenceBinding
import io.legado.app.lib.theme.primaryColor
import io.legado.app.utils.getCompatDrawable
import io.legado.app.utils.setLayout
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
class IconListPreference(context: Context, attrs: AttributeSet) : ListPreference(context, attrs) {
@ -131,9 +131,8 @@ class IconListPreference(context: Context, attrs: AttributeSet) : ListPreference
override fun onStart() {
super.onStart()
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * 0.8).toInt(),
setLayout(
0.8f,
ViewGroup.LayoutParams.WRAP_CONTENT
)
}

@ -2,6 +2,7 @@ package io.legado.app.utils
import android.view.WindowManager
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.DialogFragment
import io.legado.app.lib.theme.Selector
import io.legado.app.lib.theme.ThemeStore
import io.legado.app.lib.theme.filletBackground
@ -27,3 +28,31 @@ fun AlertDialog.applyTint(): AlertDialog {
fun AlertDialog.requestInputMethod() {
window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
}
fun DialogFragment.setLayout(widthMix: Float, heightMix: Float) {
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * widthMix).toInt(),
(dm.heightPixels * heightMix).toInt()
)
}
fun DialogFragment.setLayout(width: Int, heightMix: Float) {
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
width,
(dm.heightPixels * heightMix).toInt()
)
}
fun DialogFragment.setLayout(widthMix: Float, height: Int) {
val dm = requireActivity().windowSize
dialog?.window?.setLayout(
(dm.widthPixels * widthMix).toInt(),
height
)
}
fun DialogFragment.setLayout(width: Int, height: Int) {
dialog?.window?.setLayout(width, height)
}

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background">
<com.amrdeveloper.codeview.CodeView
android:id="@+id/code_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="12dp"
android:textIsSelectable="true" />
</androidx.constraintlayout.widget.ConstraintLayout>
Loading…
Cancel
Save