I study multilevel applications and launch the Master / Detail Flow application, which is configured by Android Studio when creating a new project (and select this option). According to the comments in the Google code that is being created, the application should be displayed in multi-level mode for devices with large-format layouts. The problem I am facing is that no matter which AVD I use, I only get one window. Firstly, here is the onCreate method of the main activity. Please note that this code comes directly from Google (this is not my code):
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_item_list); if (findViewById(R.id.item_detail_container) != null) {
According to Android Developer docs , running this code on a device with a dp of at least 640dp x 480dp is large enough to qualify as a large screen and, apparently, will be displayed in multi-level mode. I am using AVD to simulate a Nexus 10 API 19 device that has 800dp x 1280: xhdpi. Here is some more info: 
This is what I get when I run this. Obviously, multiple windows are not displayed:
What do I need to do to display multiple panels? When I run this on a USB-connected device, it works fine, so the code is accurate. The question should be AVD, which I use? Thanks!
source share