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 cloud editor from any internet-connected device. It enables users to Tack portrait in Xml files quickly and anytime needed.
DocHub will surprise you with what it provides you with. It has robust capabilities to make any updates you want to your paperwork. And its interface is so intuitive that the whole process from start to finish will take you only a few clicks.
Once you finish adjusting and sharing, you can save your updated Xml file on your device or to the cloud as it is or with an Audit Trail that contains all alterations applied. Also, you can save your paperwork in its initial version or transform it into a multi-use template - complete any document management task from anyplace with DocHub. Sign up 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