Question
Android Studio: Orientation Lock via Manifest file 1 Java file, 2 XML files (each represents the tablet/phone variation of the Java file). Change the code
Android Studio: Orientation Lock via Manifest file
1 Java file, 2 XML files (each represents the tablet/phone variation of the Java file). Change the code in the Manifest file so that it locks the phone XML file to portrait orientation only, and it locks the tablet XML file to landscape orientation only. Please post both XML and Java codes for all four following files as well as the Manifest file.
Java file: MainActivty.java
XML file (phone): activity_main..xml
XML file (tablet): activity_main..xml (sw600dp)
Manifest: Change orientation to suit the instruction.
Reference: https://www.chegg.com/homework-help/questions-and-answers/build-sentence-via-android-studio-apk-51-lollipop-download-latest-sdk-packages-instruction-q29786257
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started