mirror of
https://github.com/YTVanced/VancedManager
synced 2025-01-06 23:41:00 +00:00
rounded corners for accent color dialog
This commit is contained in:
parent
930f37fa17
commit
63aeab827a
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ package com.vanced.manager.ui.dialogs
|
||||||
|
|
||||||
import android.content.DialogInterface
|
import android.content.DialogInterface
|
||||||
import android.graphics.Color
|
import android.graphics.Color
|
||||||
|
import android.graphics.drawable.ColorDrawable
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.text.Editable
|
import android.text.Editable
|
||||||
import android.text.TextWatcher
|
import android.text.TextWatcher
|
||||||
|
@ -34,6 +35,7 @@ class ManagerAccentColorDialog : BindingDialogFragment<DialogManagerAccentColorB
|
||||||
) = DialogManagerAccentColorBinding.inflate(inflater, container, false)
|
) = DialogManagerAccentColorBinding.inflate(inflater, container, false)
|
||||||
|
|
||||||
override fun otherSetups() {
|
override fun otherSetups() {
|
||||||
|
dialog?.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||||
bindData()
|
bindData()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue