简体   繁体   English

Android UI的行为与不同的显示硬件不同

[英]Android UI behaves differently with different display hardware

My android device behaves in a strange manner when I connect a 1366 X 768 lvds display. 当我连接1366 X 768 lvds显示器时,我的android设备的行为异常。 The UI is different from what I was getting with HDMI connected. 用户界面与连接HDMI时的界面不同。 I'm getting a different home screen with some other wallpaper and more than that the navigation keys at the bottom are missing. 我得到的是带有其他墙纸的不同主屏幕,而且还缺少底部的导航键。

It looks like based on the hardware display configuration the UI is configured. 基于UI的硬件显示配置,它看起来像。

Is there a way to override this behaviour? 有没有方法可以覆盖这种行为? Please suggest some ways to tackle this.. 请提出一些解决方法。

Android Version : Lollipop 5.0.1 安卓版本:棒棒糖5.0.1

issue was due to a hard coded display density parameter. 问题是由于硬编码的显示密度参数。 It was hard coded to 240. Issue is resolved when the density value is changed to 160. 它被硬编码为240。当密度值更改为160时,问题得以解决。

$adb shell "echo qemu.sf.lcd_density=160 >> /system/build.prop" $ adb shell“ echo qemu.sf.lcd_density = 160 >> /system/build.prop”

Thanks, Arjun. 谢谢,阿俊

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Android Studio 的不同活动布局中,Drawable 的行为不同 - Drawable behaves differently in different activity layouts in Android Studio android opengl应用在设备上的行为不同,z-far是否不同? - android opengl app behaves differently on device, z-far is different? SimpleDateFormat在不同的平板电脑上的行为不同 - SimpleDateFormat behaves differently on different tablet Android UI在图形布局和AVD中的显示方式不同 - Android UI display differently in graphical layout and AVD 代码在Android和Windows中的行为有所不同 - Code behaves differently in Android and Windows 代码在两种不同的网络类型上表现不同 - Code behaves differently on two different network type 在安装应用程序时创建独特的快捷方式在不同的Android版本上的行为有所不同 - Creating a unique shortcut when installing an app behaves differently on different Android version 为什么同一段(简单的)Java代码在不同的Android设备上的行为会大不相同? - Why same piece of (simple) Java code behaves very differently on different Android devices? 使用Camera实例捕获的图像的方向在不同的Android设备上表现不同 - Orientation of Image captured using Camera instance behaves differently for different Android devices otto eventbus for android在发布版本中表现不同 - otto eventbus for android behaves differently in release build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM