I personal a big display telephone and am questioning if I may make it acknowledge itself as a pill, as in:
- The navbar ought to keep on the backside as a substitute of rotating to the edges
- Notification shade would not occupy the entire display width in portrait / would not keep within the center in panorama
- Apps that assist pill structure will use it
AFAIK, a small enough DPI (LCD density) worth will set off the change, however naturally I need the UI parts to remain at a visual, comfy measurement. There’s alleged to be a set off (an if-else situation?) that calculates whether or not pill UI ought to be activated primarily based on gadget metrics and the above DPI worth, nonetheless I do not know the place the precise set off is or how ought to I modify it to make it at all times say “pill”. I’ve seen comparable issues achieved to Android variations beneath 5.zero by way of Xposed modules, however these are fairly outdated by now.
The reply may very well be utilizing Xposed (not most popular however nonetheless alright, since I nonetheless want to remain on Nougat for some time), modifying SystemUI, and even modifying the Android supply code and constructing (I’ve the know-how for that) – one simply have to inform me the place and the way.