Good day!
My application consists of one functional Activity, in which the change of content consists in the change of Fragments. There is almost nothing in the Layout file of the Activity itself (Toolbar, download icon, FAB), all main elements are located in Layout fragments. Now directly a question. Is it possible to somehow make it so that:
On devices of the same size (in my cases small and normal ), the orientation change was prohibited (more precisely, only portrait portrait was allowed) ...
... but on a different size device ( large and xlarge ) was the orientation change allowed ? Or, as an option, only land orientation is allowed.
Any method will do, although it is desirable, of course, declarative (via the manifest or project files). Well, preferably without crutches on the type of "software orientation change in OnCreate when a device of some size is detected."