Android Question Samsung ZFold-7 Screen Density - CAN it be changed on fly by my program

Robert Valentino

Well-Known Member
Licensed User
Longtime User
When I got my phone my app worked fine just needed a few tweaks but on my wife's (same phone) looked like crap.

So I ran adb shell wm density on both devices and on my device it came back
Physical density: 420
Override density: 526

and on my wife's device it came back Physical density: 420 after I did a
adb shell wm density 526 on my wife's device everything look the same as mine

Attached find two screen shots showing the difference

I don't know how or why (both these are unlocked phones) the settings got different.
But I am sure a few of my users might have the problem.

Is there anyway I can change the device density on the fly and change it back when I end?
 

Attachments

  • Screenshot_20250829_125828[1].png
    Screenshot_20250829_125828[1].png
    92 KB · Views: 34
  • Screenshot_20250829_125903[1].png
    Screenshot_20250829_125903[1].png
    81.1 KB · Views: 35

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I am sure I am using dip - this was suppose to be a nice relaxing weekend. A lot of crap when wrong (nothing to do with programming). As soon I sort things out I will make a small example. Thanks for trying to help
 
Upvote 0
Top