[英]Same layout looks different in devices which have the same screen size
I have 2 phones: Samsung s6 edge+ and Samsung note 4.我有 2 部手机:三星 s6 edge+ 和三星 note 4。
Both have the same screen size (5.7 inch) and the same screen resolution (1440X2560).两者具有相同的屏幕尺寸(5.7 英寸)和相同的屏幕分辨率(1440X2560)。
Both have xxxhdpi density.两者都有 xxxhdpi 密度。
Still the same layout looks different on both devices.同样的布局在两种设备上看起来都不同。
even the top status bar and action bar also looks different on both devices.甚至顶部状态栏和操作栏在两种设备上看起来也不同。
Can anyone suggest any solution to have the same UI on every Android device?任何人都可以提出任何解决方案来在每个 Android 设备上拥有相同的用户界面吗?
屏幕尺寸还很大程度上取决于其 PPI 分辨率,并取决于 ppi android 应用程序选择可绘制对象以获取图标或图像,因此您需要检查设备的 ppi
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.