[Android] Fix renderers dialog style
Geoffrey Métais
git at videolan.org
Mon Feb 19 14:47:37 CET 2018
vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 19 10:22:32 2018 +0100| [ec2f18db98f4f9edd2a11ff80ba9fb6d6adcceb6] | committer: Geoffrey Métais
Fix renderers dialog style
(cherry picked from commit a23c50b489f83aed7224d421ed35351b33f373a5)
> https://code.videolan.org/videolan/vlc-android/commit/ec2f18db98f4f9edd2a11ff80ba9fb6d6adcceb6
---
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