landscape

ipad portrait orientation css, only landscape will work

谁说胖子不能爱 提交于 2019-12-08 17:03:46
问题 if you go here on an iPad, http://eastcoworldwide.com/Proofs/mint/index.html and click through to Chapter1 > Chapter 1 > Get started... you will see after a loading screen the Chapter 1 page. Basically what this is, is html embedded into an iframe being pulled together by html 5 and javascript. the html in this iframe calls its own css sheet called other.css. The html file that pulls this all together is calling a stylesheet called styles.css. Obviously I want in portrait view the content

How to set the image size same for portrait and landscape screen orientation in jquery mobile web application?

南楼画角 提交于 2019-12-08 11:48:23
问题 I have to add image on the header and background I added header image using following code <div data-role="header" data-nobackbtn="false" data-theme="a" style="height:30px;background-image:url(test.jpg);background-repeat:no-repeat;"> the image perfectly fixed in the portrait but when the screen changed to the landscape, image not fixed perfectly there will be some blank space added after the image. So how to set the image same for both portrait and landscape screen orientation. This problem

Rotate to Portrait Orientation when back button pressed

烂漫一生 提交于 2019-12-08 09:58:31
问题 Hey, I have an issue were I allow one viewcontroller to be displayed in portrait and landscape, however when the user hits the back button I want to switch the apps orientation back to portrait. At present if the user hits the back button when its in landscape mode the rest of the application stays in landscape mode, has anyone came across a solution for auto-rotating? [EDIT] The effect is similar to what occurs when use [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait]

drawable-land vs drawable

ぃ、小莉子 提交于 2019-12-08 07:47:00
问题 I am not using a layout-land, but do have drawable-land. The problem is, it uses whichever drawable matches the orientation when the activity starts . I would like it to switch between using the drawable/drawable-land when the phone rotates. Is there a way to do this easily? Or should I just copy and paste my layout into layout-land, so that it actually recreates the activity? (I assume that would do the right thing, but ideally I would like it to just refresh the drawable using the correct

While using appium how can we change device orientation to landscape mode?

Deadly 提交于 2019-12-07 18:45:35
问题 While using appium to test mobile application coded in Angular JS with protractor how can we change simulator orientation to landscape mode? I have added : 'deviceorientation': 'landscape', in config.js file. But it didn't change when i run it. 回答1: I solve it with uppercase in capabilities in the config file : 'orientation': 'LANDSCAPE' also with this option it is working : 'deviceorientation': 'LANDSCAPE' 回答2: Using server capabilities : orientation - ( Sim/Emu-only ) start in a certain

Android Front Camera recording video but plays upside down…!

淺唱寂寞╮ 提交于 2019-12-07 17:55:50
I have managed to create an android application to record videos but the problem is with the orientation of front camera video . The output is not the as per requirements . It gets automatically rotated . Application orientation is landscape . So, I need to record using front cam in landscape mode. Nothing is working out . You might want to look at how the AOSP VideoCamera activity is implementing this: if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { rotation = (info.orientation - mOrientation + 360) % 360; } else { // back-facing camera rotation = (info.orientation + mOrientation) % 360;

Prevent fullscreen virtual keyboard on Android (Adobe Air app)

╄→гoц情女王★ 提交于 2019-12-07 14:26:30
问题 I want to prevent the virtual keyboard to go fullscreen on Android (landscape mode) in my Adobe Air made application. I have read there is a way to do this using android:imeOptions="flagNoExtractUi" in the layout xml, but I have not managed to find how to do it in Adobe Air. There is a android manifest tag in the descriptor xml, but I can't make it work. Here is how it is done in native Android development: Disabling the fullscreen editing view for soft keyboard input in landscape? Anyone

PhoneGap Hello World change orientation

让人想犯罪 __ 提交于 2019-12-07 13:04:37
问题 This is silly, but if I run phonegap create someApp, and then edit the config.xml file from: <preference name="orientation" value="default" /> to <preference name="orientation" value="landscape" /> and run on ios, nothing changes. In fact, its locked in portrait mode. Whats up with this? This is a fresh app, no modifications. Documentation says that this is all there is to it, but it does nothing. Not finding any help anywhere else online... Thanks in advance. 回答1: Check this http://plugins

Android EditText expands to dialog

佐手、 提交于 2019-12-07 11:17:25
问题 I have this layout <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:id="@+id/viewer_top" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/background_dark" android:orientation="horizontal" > <RelativeLayout android:layout_width="0dp" android

iPad landscape-only app not responding to touches near the bottom of the screen

◇◆丶佛笑我妖孽 提交于 2019-12-07 04:12:45
问题 I’m an experienced developer, but relatively new to iOS. I’m having some trouble with an iPad App, where my views are not responding to button touches in the bottom third of the screen. Touches on other buttons are working fine, so I know my views are getting hooked up properly when they’re loaded (I’ve created them in IB.) I get the same behavior on both the simulator and the device. This is a landscape-orientation-only App, and I’m loading views using [NSBundle LoadNibNamed:]. This was the