Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于我的应用程序,我想现在如果我有 2 个文件夹会发生什么:drawable-xlarge 和 drawable-tvdpi 如果我的设备同时具有 asn xlarge 屏幕和 tvdpi 屏幕会发生什么?如何让 tvdpi 优先?谢谢!
至于会发生什么,请查看有关提供资源的文章,尤其是最佳匹配部分。Android使用的流程可以总结如下:
注意表 2中限定词的优先级。
您可能需要指定一组更具体的限定符(例如drawable-xlarge-tvdpi)。
drawable-xlarge-tvdpi