Questions tagged [landscape]

A page or device orientation in which the horizontal axis is longer than the vertical axis.

A page or device orientation in which the horizontal axis is longer than the vertical axis. Contrast with portrait orientation, where the vertical axis is the major axis.

1434 questions
0
votes
1 answer

How to default the root view controller to landscape with a size of 1024x768

I'm developing an iPad app that needs to be restricted to landscape mode. I've got a root view controller and a subview controller. I add the sub view controller to the root view controller and set their frames to 1024x768. I restricted the app to…
moshe
  • 157
  • 10
0
votes
1 answer

how to customize date-picker in landscape mode

I am having date picker in landscape mode .i adjusted it coordinate to fit in landscape mode. But it is looking like imageA but i want it to look like imageB. how can i do that. ImageA. imageB.
iosDev
  • 604
  • 3
  • 12
  • 28
0
votes
1 answer

Programatic iPhone landscape orientation lock

The iPhone has a orientation lock for portrait only. So I added a landscape orientation lock button to my UI that sets a landscape_orientation_locked variable to YES or NO. Then in shouldAutorotateToInterfaceOrientation: I basically do the…
Max
  • 11
  • 4
0
votes
3 answers

How to start a new activity when screen orientation changes? Android

I am writing an application which in portrait view has a gallery at the top and when you click a picture it will inflate and fill the entire screen. This works however in landscape mode the gallery covers up most of the picture and it in general…
Matthew Lueder
  • 953
  • 2
  • 12
  • 25
-1
votes
1 answer

display text twice on html page in Landscape page in parallel

I have an html report which I want to display twice on one page. I want it at left and right respectively. It works fine in Portrait view. (I defined page size in css) . I want to display report with duplication in Landscape view. Here is my html…
Mian Omer
  • 1
  • 2
-1
votes
1 answer

Fragment screen cuts out while changing the orientation and background color omitted while switching to other app

I want to show some data in a table inside a fragment once clicked a button in mainActivity. Since the table is wider, i change the orientation of the screen to landscape before dynamically creating the table in onCreateView function of the…
At Na
  • 1
  • 1
-1
votes
2 answers

How can I change screens layout for landscape and portrait in iOS

I have totally different layouts for landscape and portrait. In portrait the screen does not have the menu view of full height and half width on left and in landscape the screen contains the menu view on left side. How to do that in iOS?
Faaiz Daag
  • 155
  • 11
-1
votes
2 answers

How to change already developed app into both orientations Landscape and portrait?

I developed app(navigation + tabbar) in portrait mode. But now I want that if user change its orientation to landscape or portrait then all should be rotate in that orientation.
-1
votes
1 answer

How can I calculate the number of sun hours for a given day and location, considering nearby mountains (with Python)?

My goal is to compute the number of hours for a given day that the sun shines on a given location using Python, under the assumption of a clear sky. The problem arises from the search for real estate. I would like to know how much sun I will…
harry_k
  • 9
  • 2
-1
votes
1 answer

Render problem in Landscape mode on Android

I use View.setRotationY() to rotate my views according to the orientation of the device. Everything works well while in portrait. But when the device is rotated, the layout's background gets distorted. code: if(under == RecyclerView.NO_POSITION){ …
-1
votes
1 answer

Landscape screen for custom android phone

I'm using my Android phone (Xiaomi A2 Lite, 5.84 inches, 1080 x 2280, which is even bigger than Nexus 5) for app development. I have landscape layouts for every layout I have, and I used ConstraintLayouts for all of the elements inside. However…
-1
votes
1 answer

layout-land behaviour

I recently started working with Android Studio and I have a question. Do you need to create a new activity for landscape mode? I made my app in portrait mode with my MainActivity.java and layout/content_main.xml. I created a landscape variation (…
-1
votes
2 answers

CSS group/display images by asect ratio

I need help with a CSS code. I run a photography website on wordpress and i have some problems displaying my pictures. There are 2 formats of pictures that are being displayed: landscape (1200 x 800 px) and portrait (595 x 853px). I want to group…
Sergiu
  • 1
-1
votes
1 answer

How can I make PDF with Landscape orientation from an Excel file in Vba Access?

I used to make pdf file from Access forms using this code: DoCmd.OutputTo acOutputForm,"FR_PFMEAPrint2", acFormatPDF,"PFMEAPrint2.PDF", True and I printed Excelforms with Portrait orientation in Access using this…
ali
  • 31
  • 1
  • 8
-1
votes
1 answer

How to set landscape media queries for tab and mobile in css?

I am creating an android app using web view.My app always open in landscape mode.I need different UI for mobile and tab(both in landscape mode).How to set landscape media queries for tab and mobile in css?
Nighina t t
  • 140
  • 1
  • 4
  • 15