user10181z
user10181z

Reputation: 77

VideoView MediaController style problems

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

Upvotes: 3

Views: 2136

Answers (1)

mmark
mmark

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

Related Questions