Layout on Samsung Galaxy Note

左心房为你撑大大i 提交于 2019-12-03 03:17:40

问题


I have a weird issue that only occurs on the Samsung Galaxy Note.

I have landscape and portrait layouts , in normal and large , as per : http://developer.android.com/guide/practices/screens_support.html

On all phone so far it uses the normal and the tablets 7inch and 10 inch use the large layout (which was designed for tablets) and all is ok.

However the Samsung Galaxy Note is using the large layout (and from it's screen size would indicate so) - but the layout is a complete mess as it does not seem to be large enough display to show the tablet UI.

What is the exact screen combo for a Galaxy note ? , do I need to define a different density large layout to work with it ?

I am also suspecting it is incorrectly reporting to the app it's size like previous Samsung products.

Not owning one and not able to borrow one I have to appeal to you guys to help me out :-)


回答1:


This is what you will see on the original Galaxy Note (shipped with Gingerbread)

  • Screen pixel density (dpi) - xhdpi
  • Screen size - large
  • Screen aspect - long

Most of the other tablets (7 inch and 10.1 inch tablets) are mdpi.

This device will pick values from the large resource category since size takes precedence over density.

After the ICS update, the device classifies itself as below.

  • Screen pixel density (dpi) - xhdpi
  • Screen size - normal
  • Screen aspect - not long



回答2:


Galaxy Note is 1280x800 and dpi 320 according to http://www.basic4ppc.com/forum/basic4android-updates-questions/13711-samsung-galaxy-note-emulator.html



来源:https://stackoverflow.com/questions/8711877/layout-on-samsung-galaxy-note

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!