优化
This commit is contained in:
@@ -35,10 +35,13 @@ class HttpTtsEditDialog() : BaseDialogFragment(R.layout.dialog_http_tts_edit),
|
||||
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
|
||||
setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
|
||||
dialog?.window?.setBackgroundDrawableResource(R.color.transparent)
|
||||
}
|
||||
|
||||
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
||||
view.setBackgroundResource(R.color.transparent)
|
||||
view.setOnClickListener { dismiss() }
|
||||
binding.toolBar.setBackgroundColor(primaryColor)
|
||||
binding.tvUrl.run {
|
||||
addLegadoPattern()
|
||||
|
||||
Reference in New Issue
Block a user