Have you ever had trouble with editing your Xml document while on the go? Well, DocHub comes with a great solution for that! Access this online editor from any internet-connected device. It allows users to Revise portrait in Xml files rapidly and anytime needed.
DocHub will surprise you with what it provides you with. It has robust functionality to make any changes you want to your paperwork. And its interface is so easy-to-use that the whole process from start to finish will take you only a few clicks.
When you finish editing and sharing, you can save your updated Xml document on your device or to the cloud as it is or with an Audit Trail that includes all alterations applied. Also, you can save your paperwork in its original version or turn it into a multi-use template - accomplish any document management task from anywhere with DocHub. Subscribe today!
[Music] hello everybody and welcome back to another short bit segment from IJ apps where today Ill be covering how to set the screen orientation of an activity this is a useful feature if you want to prevent the user from using the app in landscape mode by setting it so that they can only use it in portrait mode Ill show you how to do this both in XML and programmatically in Java and Im going to first start with XML so I already do it from XML were going to do go to Android manifest or XML and then were going to go inside the activity tags where we hear of our main activity and then were going to type Android screen orientation and then in this case were going to set it to portrait but just to show you that it works I have my app open over here and then Im going to rotate it and you can see that set to landscape mode so now Im going to switch it back to portrait mode and then Im going to me run the app and show you that it works so now we have our app and Im actually tilting