Most voted "orientation" questions
6 questions
Sort by count of
-
6
votes1
answer145
viewsHow to detect screen width smaller than height with CSS?
I have a div with position: fixed which occupies the entire screen and which is only displayed when the width of the screen is less than the height. With Javascript I can do this check and show or…
-
3
votes0
answers200
viewsHow to get sense of the device using gyroscope and accelerometer? Ionic 3
I’m developing an application in Ionic 3, where I need to know what direction the user’s phone is pointing to, and then make the decision. I was trying to use the plugin Device Orientation, which…
-
1
votes1
answer596
viewsAndroid orientation (PORTRAIT/LANDSCAPE) addTextChangedListener
I’m having a problem at the moment when my App changes its orientation from PORTRAIT to LANDSCAPE or vice versa. I tested my code and identified that the problem is in the command lines where are…
-
0
votes1
answer35
viewsHow to Rotate Viewcontroller Manually?
I started a project, where I use a Custonnavigationcontroller to control the navigation of the screens. In this project, only one viewcontroller can be rotated to Landscape mode. But the following…
objective-c uinavigationcontroller portrait landscape orientationasked 9 years, 7 months ago Tiago Amaral 1,520 -
0
votes1
answer28
viewsAndroid capture device rotation without rotating the application
I have an application with Android Webview, my Activity is configured to portrait: <activity android:name=".activity.MainActivity" android:screenOrientation="portrait"…
android android-layout android-activity rotation orientationasked 5 years, 8 months ago Leonardo Patricio 1,656 -
-2
votes2
answers809
viewsHow to change background when changing screen orientation on Android
I’m developing an Android application where the background image is only cool when the phone is upright. I would like every time the user changes the screen orientation the background changes to an…