createing a centered scaled bitmap
<p>So I have some code that takes a video and grabs a frame using MediaMetadataRetriever's getFrameAtTime. This works great so far. However I want to list the videos recorded in a listview and have an accompanying thumbnail used by the getFrameAtTime screen grabs. The screen grabs do not save as squares and using createBitmap with even width/height dimensions could have contorted thumbnails. Any idea how I can fix this? Or maybe non-square rectangular thumbnails would work fine?</p>
