[Q] Changing Browser's screen resolution / disabling Use Wide Viewport

Search This thread

Summer Son

Senior Member
Jun 26, 2012
211
54
Hi All,

It is well known that browsers do not report exact screen resolution, e.g. on 1920x1200 tablet it reports 1280x752, on 1080x1920 phone it reports 360x592 (same stock Browser of OmniROM). This way the viewport size is being managed. But what if I want to make things smaller ( = increase reported resolution), where in a Browser's APK can I do that? Changing build.prop is not an option, that will affect all the apps.

In other words, when we build a ROM for a specific device where can we specify screen resolution for it?

Thanks...

Edit:
Compared to different browsers and figured out its more about "Wide Viewport" that needs to be switched OFF to get what I want. It was possible to get old pre-KitKat browsers to Debug mode and switch it there, but no options for one in KitKat. Anyone knows how to remove Wide Viewport functionality from the APK itself?
 
Last edited: