Post Reply

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

OP Summer Son

4th May 2014, 09:12 AM   |  #1  
OP Member
Thanks Meter: 18
 
93 posts
Join Date:Joined: Jun 2012
More
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 by Summer Son; 4th May 2014 at 10:39 AM.
Post Reply Subscribe to Thread

Tags
browser, dpi, ppi, resolution
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes