Questions tagged [stretched]

39 questions
23
votes
2 answers

android camera stretched in landscape mode

The app I'm writing requires camera functionality. So to learn about how to operate the camera, I followed this script: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html I have put the…
Joey Roosing
  • 2,145
  • 5
  • 25
  • 42
23
votes
5 answers

Android action bar with two stretched buttons

Does anybody know how to easily implement an action bar with two stretched buttons? Here is an example of the Google calendar app: Thank you!
Louis
  • 2,140
  • 4
  • 19
  • 18
13
votes
5 answers

UIImageView image stretched even though contentMode = UIViewContentModeScaleAspectFit

I am really disappointed by the way UIImageView displays the image. I have following piece of code: UIImageView *imgview = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 300, 100)]; imgview.image = [UIImage…
Mike
  • 1,332
  • 2
  • 10
  • 14
7
votes
2 answers

Is it possible to smooth a scaled TBitmap in Delphi?

I am using Stretched=True on a TImage with a 256x256 bitmap. This gets scaled down by 1,2,4 or 8. As expected, text on the bitmap gets more horrible the more I depart from '1'. I notice though that Windows 7 explorer renders a scaled down version of…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
5
votes
2 answers

Live camera is getting stretched while rendering using CIFilter. - Swift 4

I want to apply camera filter while rendering, my code is... func session(_ session: ARSession, didUpdate frame: ARFrame) { let image = CIImage(cvPixelBuffer: frame.capturedImage) var r: CGFloat = 0, g: CGFloat = 0, b: CGFloat = 0, a:…
Anand Nanavaty
  • 554
  • 4
  • 13
4
votes
0 answers

on Android, embedded html5 video tag would stretch the video playback

I have a video tag with width and height set to a dimension that does not fit the video's aspect ratio. When I see the page on an Android tablet, the video playback is stretched to fill the video 'frame'. Whereas on ipad or desktop browsers it will…
RoundOutTooSoon
  • 9,821
  • 8
  • 35
  • 52
4
votes
1 answer

CSS: flexbox horizontal overflow

How is it possible to let children items of a flexbox container not stretch but overflow horizontally? So that you can either scroll with overflow-x or cut the content on the right side. My experiments ended with horizontally stretched items…
Malte
  • 454
  • 2
  • 5
  • 20
3
votes
1 answer

Android - Make make surfaceview larger than parent

I have a 'Portrait mode' tabbed based application that contains a SurfaceView (with a camera preview on it) within one of the tabs. I have been creating my camera code from the Android API Demos and I have it all set-up working correctly bar one…
Alex D
  • 41
  • 3
3
votes
1 answer

Multiscreen Support in android : Camera preview is stretched in Samsung Galaxy s4 mini issue android

This is my Preview class to take a picture : it's working perfectly with many devices but Android Samsung Galaxy S4 shows me bad result => the problem that the image is stretched when preview. You can see the image below : Here is my code…
Nawrez
  • 3,314
  • 8
  • 28
  • 42
2
votes
1 answer

iOS Some UIImageView being stretched

This seems like a silly question, but I have a UITableView and each row has a UIImageView with a dimension of 80x80. The actual content of the image is either 80x80 or 80x64. I recently added some new 80x64 images and the heights of those are being…
themanatuf
  • 2,880
  • 2
  • 25
  • 39
1
vote
2 answers

Cross-Browser CSS solution for fixed, stretched to height background image

Possible Duplicate: Stretch and Scale CSS Background I am looking for a way to have a background with the following properties: - be fixed - stretch proportionally to window height - cross-browser or at least solutions for all browsers.. (IE…
Adrian M.
  • 7,183
  • 15
  • 46
  • 54
1
vote
4 answers

Android: textView is added dynamicly. How to add this to specific line

I have 5 textViews which are added dinamicly but each textViews covers others. How to add each textView to specific line? for(int z=0;z
aptyp
  • 251
  • 1
  • 6
  • 19
1
vote
0 answers

UIScrollView Indicator is stretched

I have a paginated UIScrollView with several UIImageViews inside for horizontal scrolling. All works as expected, but there is one strange thing about the horizontal scroll indicator: it looks as if it were stretched to the height of the whole view.…
uruk
  • 1,094
  • 2
  • 14
  • 26
1
vote
1 answer

Android textureView stretched

SurfaceTexture preview is stretched! I'm developing a camera2 app. Every device is working bad. The preview for video and photo is stretched. public class CamActivity extends AppCompatActivity { private static final int REQUEST_LOCATION = 1; …
1
vote
1 answer

GraphViz dot on MediaWiki stretched out after edit

I have edited a Graphviz diagram I made (org chart) to add some new positions in. However, when I save the edit on MediaWiki it refreshes to a stretched image. I have cleared the cache and purged the page, but it still will not resize or…
AK37
  • 33
  • 6
1
2 3