Skip to content
Snippets Groups Projects
Commit a23c50b4 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix renderers dialog style

parent 338810a0
No related branches found
No related tags found
No related merge requests found
......@@ -63,13 +63,14 @@ class RenderersDialog : DialogFragment(), RendererDelegate.RendererListener, Pla
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val inflater = LayoutInflater.from(context)
mBinding = DialogRenderersBinding.inflate(inflater, null)
val dialog = Dialog(context, R.style.ThemeOverlay_AppCompat_Dialog)
val dialog = Dialog(context)
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE)
dialog.setContentView(mBinding.root)
return dialog
}
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
setStyle(DialogFragment.STYLE_NO_FRAME, 0)
mBinding = DialogRenderersBinding.inflate(inflater, container, false)
return mBinding.root
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment