With that only manages to make the design for a smartphone or a tablet but not both ...
You have to create the folder "res" another folder "layout-large" or "layout-xlarge" is called, depending on the size of the tablet and now this.
In the folder you design layout with nothing more for a smartphone and the other for the tablet, but always maintaining the same @ + id / or the code will fail.
A greeting.