Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,290 Members 46,017 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Modifying reported xdpi / ydpi from that DisplayMetrics reports

Tip us?
 
dokujaryu
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Feb 2014
Phone [Q] Modifying reported xdpi / ydpi from that DisplayMetrics reports

Is there some way to modify what xdpi and ydpi is reported to apps so I can simulate a tablet view on my phone?

I tried changing the build.props dpi setting, it's not affecting xdpi/ydpi or actual dpi numbers from this app for example:
https://play.google.com/store/apps/d...reensize&hl=en

Any reliable ideas?
 
dokujaryu
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Feb 2014
Found this related thread: http://forum.xda-developers.com/show...565626&page=20

Which lead to this Xposed mod: http://forum.xda-developers.com/xpos...-v2-2-t2596603

Which.... still doesn't do it.

Also, this is a better app for calculating screen size and getting x/y dpi
https://play.google.com/store/apps/d...18.displayinfo
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes