landscape-portrait Questions

5

Solved

Can someone please tell me the "right" or "best" approach to working with portrait and landscape interface orientations in iOS 8? It seems that all the functions I want to use for that purpose are ...

4

Solved

I have a custom camera which takes photo in portrait mode. My issue is that if i try to take a photo in landscape and save it then the picture is still saved in portrait mode. I have this functio...
Vehicle asked 23/10, 2017 at 15:15

3

I want to show a single page in my Flutter application in landscape mode. Every other screen should be shown in portrait mode. I found this code snippet: In my main.dart SystemChrome.setPreferre...
Telesthesia asked 24/10, 2018 at 23:3

1

for a video image processing project, I have to rotate the incoming YUV image data so that the data is not shown horizontally but vertically. I used this project which gave me a tremendous insight ...
Nonpartisan asked 4/9, 2019 at 18:50

2

I am working on an iPhone(Swift) app and I have a WebView which loads a Youtube video and I would like to allow landscape mode only when the video is full screen. My whole app is portrait and rotat...
Truly asked 5/6, 2015 at 10:6

4

Solved

I am using ExoPlayer in my activity,What i want is to smoothly play video in portrait and landscape mode.For this purpose what I am doing is in onpause I save the currentPlayerPosition and seek pla...

1

This is an extension of the questions asked here: How to get bottomSheet to open from the top? Android “Top Sheet” equivalent of “Bottom Sheet”? of course "Bottom Sheet" is called like that for ...
Godchild asked 15/9, 2016 at 16:2

3

Solved

I'm trying to find out if the device is in portrait or landscape mode. My code works quite well if the device is not facing up. If it does face up (and orientation == 5), it won't distinguish betwe...

5

How can I change the orientation of the crystal report in c# to Landscape orientation? I am using the crystal report in the portrait orientation.
Mancuso asked 16/5, 2011 at 15:56

2

Solved

I use Apache POI XWPF to create and handle MS Word documents. But I didn't find in the documentation how to change the page orientation. Apparently this way should make it: XWPFDocument doc = new...
Salvation asked 25/11, 2013 at 9:50

4

Solved

This is a basic android question. I have app which need to have different screen design for a phone and a tablet. The phone needs to have a ListView and the Tablet need to have a GridView of items....
Constance asked 6/6, 2014 at 4:35

4

Solved

I know it's with pure CSS possible to adapt the stylesheet according to screen dimensions, like this: @media (max-width: 959px) { /* styles for smallest viewport widths */ } @media (min-width: 6...

1

Solved

Safe Area Insets in first UIViewController changes to Safe Area Inset for landscape when I present SecondViewController, which supports only landscape orientation. GIF with described bug GIF with...
Superpose asked 10/11, 2017 at 13:17

9

Solved

I want to show portrait orientation on Zxing's camera. How can this be done?
Mommy asked 27/4, 2013 at 13:38

3

Is it possible to capture video in landscape while the device is in portrait mode? something like this: actually what i need is to capture in portrait but with width > height, i dont want the us...
Sleepwalk asked 16/7, 2017 at 13:12

4

Solved

I dont want my app to be landscaped and always be porttrait.So i made my app Deployment Info to set portrait only. but when i need to display any image or videos in my app,i need landscape mode for...
Hollingshead asked 21/5, 2015 at 9:11

1

Solved

I have a Split View controller for iPad that should support both orientations (portrait and landscape). The problem is that when I change the device's orientation the details view doesn't readjust...
Angadreme asked 20/7, 2016 at 9:47

8

Solved

I have researched enough to get this working but not able to fix it. After taking picture from camera as long as I have image stored as UIImage, it's fine but as soon as I stored this image as PNG ...
Menashem asked 1/6, 2012 at 12:23

4

Solved

I'm trying to embed a camera preview in an activity. And it's only in portrait orientation. The problem is the preview gets stretched. I've tried to pick the optimal size. But the problem is all s...
Diffident asked 8/11, 2016 at 0:55

3

Solved

What I am Trying to Do: Parent View that is managed by Parent View Controller SHOULD NOT ROTATE. Child View that is managed by Child View Controller SHOULD ROTATE to all orientations. Wh...

4

Solved

This one should be very simple, however it's not. I'm trying to prevent my application from going into landscape view so I've changed the config.xml file like this: <preference name="orientation...

5

Solved

I realize there are many similar solutions, such as TPKeyboardAvoiding, Apple's famous solution, and various suggestions involving the use of UIScrollView. In my case, I need to resize a view to ac...
Vaticination asked 16/4, 2013 at 17:30

2

Solved

There are quite a few similar topics and issues around here and I follow this . But I get error. My Code @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {...
Barbey asked 6/11, 2015 at 1:50

6

Solved

I am using Intents to switch between activities in my Android app. I am putting data in the Intent for use in the next activity. When I switch the phone between landscape and portrait modes, the va...
Enharmonic asked 25/2, 2009 at 5:10

3

Solved

I am using camera in my app. I am just using intent to start camera Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); cameraIntent.putExtra(MediaStore.EXTRA_OUTP...

© 2022 - 2024 — McMap. All rights reserved.