I am developing a tablet-only app and I put xml files for 10 inch tablets in /res/layout-sw720dp folder.When I preview customized xml in eclipse, I select device as "10.1in WXGA (Tablet) (1280x800: mdpi) and everything is positioned just fine (note: certain elements need to be positioned by adding some margins (in dp) ... ), but when I run this app on samsung's galaxy tab this elements are not positioned as xml editor shows. What could be the problem?