I own a large screen phone and am wondering if I could make it recognize itself as a tablet, as in:
- The navbar should stay at the bottom instead of rotating to the sides
- Notification shade doesn't occupy the whole screen width in portrait / doesn't stay in the middle in landscape
- Apps that support tablet layout will use it
AFAIK, a sufficiently small DPI (LCD density) value will trigger the change, but naturally I want the UI elements to stay at a visible, comfortable size. There's supposed to be a trigger (an if-else condition?) that calculates whether tablet UI should be activated based on device metrics and the above DPI value, however I don't know where the actual trigger is or how should I change it to make it always say "tablet". I've seen similar things done to Android versions below 5.0 via Xposed modules, but those are quite outdated by now.
The answer could be using Xposed (not preferred but still alright, since I still need to stay on Nougat for a while), modifying SystemUI, or even modifying the Android source code and building (I have the know-how for that) - one just have to tell me where and how.