mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 00:21:10 +00:00
1dp
This commit is contained in:
parent
aaeadd6273
commit
3844f178ea
1 changed files with 1 additions and 1 deletions
|
@ -1894,7 +1894,7 @@ public class Log {
|
|||
Point dim = new Point();
|
||||
display.getSize(dim);
|
||||
float density = context.getResources().getDisplayMetrics().density;
|
||||
sb.append(String.format("Density %f\r\n", density));
|
||||
sb.append(String.format("Density 1dp=%f\r\n", density));
|
||||
sb.append(String.format("Resolution: %.2f x %.2f dp\r\n", dim.x / density, dim.y / density));
|
||||
|
||||
Configuration config = context.getResources().getConfiguration();
|
||||
|
|
Loading…
Add table
Reference in a new issue