Questions tagged as 'orientation'

0
answers

How to get the sense of the device using gyroscope and accelerometer? Ionic 3

I'm developing an application on Ionic 3, where I need to know what direction the user's cell phone is pointing to, and then make decision-making. I was trying to use the Device Orientation plugin, which returns a value in degrees (0 - 360) wher...
asked by 14.05.2018 / 05:17
1
answer

Android guidance (PORTRAIT / LANDSCAPE) addTextChangedListener

I have 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 the "editText.addTextChangedListener (new TextWatcher ()...
asked by 14.05.2015 / 07:19
1
answer

How 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 problem occurs as follows: 1 - Launch the...
asked by 07.04.2015 / 19:20
2
answers

How to change background when changing screen orientation on Android

I'm developing an Android application where the background image only gets cool when the phone sits upright. I would like every time the user changes the screen orientation the background changes to an image that looks nice without being stretch...
asked by 31.12.2015 / 17:51