Reputation: 1105
I am trying to show a mediacontroller for a videoview which exist on a custom dialog. But somehow the mediacontroller does not appear. I have seen few questions related to this, but havent found any suitable answer for it yet.
Is it happening because I am trying to show the mediacontroller on the custom dialog?
If yes then is there any workaround for same?
Upvotes: 2
Views: 1695
Reputation: 2154
Use Activity
instead of DialogFragment
and set the Activity theme in AndroidManifest.xml
like this:
android:theme="@android:style/Theme.Dialog"
Upvotes: 0