Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/189.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android emulator没有';不要采取土地布局_Android_Android Layout_Landscape - Fatal编程技术网

Android emulator没有';不要采取土地布局

Android emulator没有';不要采取土地布局,android,android-layout,landscape,Android,Android Layout,Landscape,我试图使布局工作在平板电脑和景观模式 我已经创建了layout-sw600dp和layout-sw600dp-land文件夹,但是当我尝试使用模拟器运行应用程序时,它没有使用正确的布局(从layout-sw600dp-land文件夹) 我没有在AndroidManifest.xml中使用任何不允许横向模式的配置。emulator拥有最新版本的android您能确定正在使用的确切布局吗?(我假设您在emulator中使用了正确的屏幕大小-如果您不使用,请尝试10英寸平板电脑)我尝试了7英寸和10英

我试图使布局工作在平板电脑和景观模式

我已经创建了
layout-sw600dp
layout-sw600dp-land
文件夹,但是当我尝试使用模拟器运行应用程序时,它没有使用正确的布局(从
layout-sw600dp-land
文件夹)


我没有在
AndroidManifest.xml
中使用任何不允许横向模式的配置。emulator拥有最新版本的android

您能确定正在使用的确切布局吗?(我假设您在emulator中使用了正确的屏幕大小-如果您不使用,请尝试10英寸平板电脑)我尝试了7英寸和10英寸平板电脑,因为我有两个布局文件夹,一个用于600dp,另一个用于720dp,但两个都不起作用