In my activity, I need to show an instance VideoView(fullscreen), with a button scaling content similar to iOS media player one. I mean, for example, by scaling 4: 3 content to fill the width of the screen while maintaining aspect ratio (thus effectively trimming the top / bottom of the content).
I just did a quick hack / experiment - VideoViewinside AbsoluteLayout, oversized, so the top / bottom is broken off. It works, but it actually looks like a hack.
I may be blind, but is there an API, for example. choose a sub-rectangle to display in the view?
source
share