[Android] Fix renderers dialog style
Geoffrey Métais
git at videolan.org
Mon Feb 19 10:22:54 CET 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 19 10:22:32 2018 +0100| [a23c50b489f83aed7224d421ed35351b33f373a5] | committer: Geoffrey Métais
Fix renderers dialog style
> https://code.videolan.org/videolan/vlc-android/commit/a23c50b489f83aed7224d421ed35351b33f373a5
---
vlc-android/src/org/videolan/vlc/gui/dialogs/RenderersDialog.kt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/RenderersDialog.kt b/vlc-android/src/org/videolan/vlc/gui/dialogs/RenderersDialog.kt
index 6e5926868..2469c4e86 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/RenderersDialog.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/RenderersDialog.kt
@@ -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
}
More information about the Android
mailing list