landscape

Textview in android fragment duplicated in landscape layout

北慕城南 提交于 2019-12-25 09:08:32
问题 I am trying to make an app with two fragments, one containing a list of groups (called OverviewFragment) and one fragment containing the details of selected group (called DetailsFragment). I want only one fragment to be visible at a time in portrait mode and both to be visible simultaneously in landscape mode. I have two problems. First of all the transition between portrait and landscape is very unstable and leads to a variety of crashes, i.e: a blank screen, "No view found", "Error

iphone landscape mode slow

寵の児 提交于 2019-12-25 04:53:28
问题 The iphone app I am developing in landscape mode is seriously chugging. I put it in portrait for comparison and it appears to run much smoother in that orientation. I am not doing what I'd think is process intensive: a map view, some buttons, some labels, and some quartz drawing, yet some basic quartz animation seriously slows down really badly. Does anyone know if landscape mode is just terribly handicapped compared to portrait, and/or if so, if there are better ways to create a landscape

Print PDF using GhostScript in LANDSCAPE

寵の児 提交于 2019-12-25 04:33:41
问题 I am printing a PDF file as follows: using (GhostscriptProcessor processor = new GhostscriptProcessor()) { List<string> switches = new List<string>(); switches.Add("-empty"); switches.Add("-dPrinted"); switches.Add("-dBATCH"); switches.Add("-dNOPAUSE"); switches.Add("-dNOSAFER"); switches.Add("-dNumCopies=1"); switches.Add("-sDEVICE=mswinpr2"); switches.Add("-sOutputFile=%printer%" + printerName); switches.Add("-f"); switches.Add(inputFile); processor.StartProcessing(switches.ToArray(), null)

DOMPDF landscape output is messed up

北城以北 提交于 2019-12-25 04:17:44
问题 I'm loading basic HTML into DOMPDF. In landscape mode, all the pages after the first are overlapping. Here is my (basic) HTML which renders fine in the browser: <div id="certificates-layout-1" style="<?php echo $styles['outer-container']; ?>"> <div style="<?php echo $styles['inner-container']; ?>"> <div style="<?php echo $styles['fullname']; ?>"> <?php echo $data['fullname']; ?> </div> <div style="<?php echo $styles['fullcouncil']; ?>"> <?php echo $data['fullcouncil']; ?> </div> <div style="<

Iphone: Cannot switch back from my landscape view to a portrait view

。_饼干妹妹 提交于 2019-12-24 17:31:00
问题 I am working on an app (my first one), which is basically a TabBar app. To be more precise there are: - a login view controller - a tab bar controller (when login is done) - a landscape view controller that is used when the first itel of the TabBar is switch from Portrait to Landscape. So, when I am in the first tab, I need to be able to move to landscape view to display some other data. In my tab bar controller, I have implemented those methods: - (BOOL)shouldAutorotateToInterfaceOrientation

Printing in landscape from a Windows Forms WebBrowser control

社会主义新天地 提交于 2019-12-24 16:17:57
问题 I have a WebBrowser control in a Windows Forms Host in a WPF application. I know that in order to print it's contents, I use simply WebBrowser.Print() , however, how can I tell the printer to print the contents in landscape rather than a portrait orientation? I've been searching the Internet on this and oddly enough, it seems to be actually something that is a bit hard to do -- is this really the case? It seems odd to me that it wouldn't be easily implementable. Thanks! 回答1: INFO:

Dart number field entry from side instead of bottom of screen (for landscape)

。_饼干妹妹 提交于 2019-12-24 08:45:25
问题 I am trying to make a pin login for an app that is in landscape view. I am using Dart/flutter, and cannot figure out how to relocate the textinput keyboard. Is it possible to use something like this, but force the keyboard to be NEXT to the text field instead of below the text field? How to create number input field in Flutter? 回答1: The position and shape of the keyboard is completely device-specific. There are even floating or split keyboards, and there is no way modify the position of the

How to launch app in landscape? (frustrated)

╄→гoц情女王★ 提交于 2019-12-24 01:49:10
问题 this issue is supposed to be a simple one... i have googled a lot about it and i have tried all the setups on my project. the thing is i am working on a project that is not mine. the app launched from the app delegate and then i am adding a UIViewController (without XIB file) everything done by code. the ViewController is actually on landscape, but the thing is the the app is running on portrait (when i am pulling the notification view it turns dow like in the portrait mode). this is

iPad launch orientation

随声附和 提交于 2019-12-23 23:16:14
问题 After reading many posts, I still haven't got a clue how to solve this problem... The first view of my app is a tableViewController. I override (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation and it always returns YES. If I hold my iPad upright under landscape orientation, it rotates right after I launch the app. However, if I put my iPad flat on the table, even though my homepage is in landscape orientation, it launches in protrait orientation. So

Opening a view in Landscape mode [duplicate]

本小妞迷上赌 提交于 2019-12-23 20:22:05
问题 This question already has an answer here : how to change landscape mode (1 answer) Closed 5 years ago . I am developing an application in portrait mode.In my one view controller when I click on table view another view opened in portrait mode.I want it to be opened in landscape mode. Please suggest me how to do this. Thanks in advance!! 回答1: As far as I know, the only way to achieve this is to to show the view controller as a modal with [self presentModalViewController:landscapeViewController