Reputation: 77
I have a situation where I am streaming a video using a standard VideoView
in combination with a MediaController object
. Everything works as far as playback is concerned, however the appearance of the ProgressBars
for when the video is loading have the appearance of an earlier version of android.
I had a similar problem with ProgressBars
, but this was solved by changing the style
of the progress bar from "Widget.ProgressBar.Horizontal"
to "Widget.Holo.ProgressBar.Horizontal"
Is there anything similar for a VideoView
?
Currently I have:
But I would like to have something similar to:
These screens are from a Nexus 4 running KitKat.
Thanks
Upvotes: 3
Views: 2136
Reputation: 1204
You should define a Holo style for the activity in your manifest or make your own extending it. For example:
<activity android:name=".activity.MyPlayerActivity" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" android:screenOrientation="sensorLandscape"/>
Upvotes: 4