Android 2.2 (on a media player boxtop) with a display of 1280x720.

My video is 480px high, 720px wide; standard definition.


I know that if change the layouts of a SurfaceView, the video is
scaled to fit whichever is smallest to maintain aspect ratio.

This is great, except I can only scale up to the height of the screen.
This is a problem as there is are black bars being broadcast on the
top/bottom of the video.
See here:
http://i.imgur.com/dsiLw.jpg

I would need to make my SurfaceView (and the window) larger than the
screen.

I know about FLAG_LAYOUT_NO_LIMITS, on WindowManager:
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_LAYOUT_NO_LIMITS

It is supposed to allow my window to expand out past the screen... but
I can't seem to get this working. It always seems to resize it to
1280x720px no matter what I do.


If you could help me get this so I can expand my surfaceview video so
it looks full screen (clipping the tops video), I will be extremely
grateful.

:)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to