Android layout文件夹中的一些xml文件很小,一些是正常的
我为不同的屏幕大小创建了xml文件。 我有layout、layout large、layout normal和layout xlarge文件夹。 在布局文件夹中,一些xml文件在VisualEditor上显示为小屏幕。 这是我的舱单代码Android layout文件夹中的一些xml文件很小,一些是正常的,android,screen,Android,Screen,我为不同的屏幕大小创建了xml文件。 我有layout、layout large、layout normal和layout xlarge文件夹。 在布局文件夹中,一些xml文件在VisualEditor上显示为小屏幕。 这是我的舱单代码 <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:res
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<compatible-screens>
<!-- all normal size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="normal" />
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="hdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="normal" />
<!-- large screens -->
<screen
android:screenDensity="hdpi"
android:screenSize="large" />
<screen
android:screenDensity="xhdpi"
android:screenSize="large" />
<!-- xlarge screens -->
<screen
android:screenDensity="hdpi"
android:screenSize="large" />
<screen
android:screenDensity="xhdpi"
android:screenSize="xlarge" />
</compatible-screens>
为什么一些xml文件显示为小屏幕?
其中一个xml文件出现在窄而长的屏幕上。
有没有办法定义xml文件的维度?
谢谢