Question

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:

The old Android appearance that I don't want

But I would like to have something similar to:

The new appearance which I would like

These screens are from a Nexus 4 running KitKat.

Thanks

Was it helpful?

Solution

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"/> 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top