gpt4 book ai didi

android - 如何从设备中删除 ldpi 支持?

转载 作者:行者123 更新时间:2023-11-29 14:52:43 25 4
gpt4 key购买 nike

如何从 Android 设备中删除 ldpi 支持?我不想在 ldpi 支持的设备中显示任何内容。如何做到这一点?

我更改 list 文件:
在 list 中,我做了以下更改:

Screen Support 
android:smallScreens="false";

最佳答案

在 Android 开发者网站上找到的代码,here .

<compatible-screens>
<!-- all small size screens - except ldpi -->
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens - except ldpi -->
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens - except ldpi -->
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all xlarge size screens - except ldpi -->
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
</compatible-screens>

关于android - 如何从设备中删除 ldpi 支持?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13474128/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com