Have you ever struggled with editing your Xml document while on the go? Well, DocHub has an excellent solution for that! Access this cloud editor from any internet-connected device. It allows users to Snip portrait in Xml files quickly and whenever needed.
DocHub will surprise you with what it provides you with. It has powerful capabilities to make any changes you want to your forms. And its interface is so simple-to-use that the whole process from beginning to end will take you only a few clicks.
As soon as you finish modifying 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 transform it into a multi-use template - accomplish any document management task from anyplace 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