I do not know how to set the "sensor portrait" attribute in the manifest for an activity to allow activity to go This does not work in reverse ports like I set in the manifest
& amp; Activity Activity: Name = "Main Active" Android: Label = "Test" Android: Screen Orientation = "Sensor Portrait" Android: windowSoftInputMode = "stateHidden" android: configChanges = "Orientation" & gt; & Lt; / Activity & gt;
The above code is not working for both reverse portraits and portraits on Moto E (4.4.4) or Galaxy S3 (4.3), but I can confirm that it Works on Nexus 7 (5.0.1) Tablet, I tried many other answers but it seems one of the easiest and it is not working on 'phone' for me, am I getting some information that Is relevant to work?
I tried the following link which is similar to my question but nothing seems useful about it
Currently the flag "Sensor Portrait" With this "picture", in the phone.
If you look at, you can see that this internal value is config_allowAllRotations
and to determine whether 180 degree rotation (i.e., reverse port on the phone) is allowed. With this, it means that the reverse portrait on the phone is disabled. Note that (i.e., tablet) is true, so why can you use all the rotation on the tablet devices with the reverse port.
No comments:
Post a Comment