There is a nice layout preview in Intellij IDEA. I remember in version 11 I could add my own configuration with specific density and screen size. It was Edit button in this list:

In the new version 12 I can’t see it. How can I create my own configuration now?
Use the AVD Manager (Android Virtual Device Manager) from Android SDK distribution, you can add more devices in the Device Definitions tab: