Layout folder to support different devices screens

By following this tutorial, I created 3 different layout folders (over default layout folder):

  • layout-large
  • layout-small
  • layout-xlarge

In this way, some screens do not fit as I want. For example, Nexus s, Galaxy Nexus and Nexus 4 preview seem to use the default layout, but it doesn't fit well. Should I create other layout folders, for these devices (and others that I'm maybe forgetting)?

Answers


Nexus s, Galaxy Nexus and Nexus 4 are all "normal" sized devices (or large, i'm not sure). So the behaviour you're getting is "correct".

Have you tried to specify layouts according to the smallest width?

Something like layout-sw480dp, this should target the devices you want.


Need Your Help

It's possible to remove the expand/collapse column from the jqGrid header?

javascript jquery jqgrid

I'm using the jqGrid available at http://www.trirand.com/jqgrid/jqgrid.html and I can't find a way to disable its expand/collapse button on the top right of the header. Anyone know if there's an op...

row and column from "Itemchanged" signal

python-2.7 qtablewidget

Im working with the "itemchanged" signal.