Android的可绘制华电国际xhdpi MDPI LDPI概念 [英] Android Drawable hdpi xhdpi mdpi ldpi concept

查看:202
本文介绍了Android的可绘制华电国际xhdpi MDPI LDPI概念的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有在绘制概念一个查询。我有固定大小的图像,我已经把他们绘制文件夹中。我已经删除了我的其他文件夹,如绘,华电国际,MDPI,LDPI,xhdpi从eclipse项目,并取得了我的项目的APK。

I am having one query in drawable concept. I have images of fixed sizes and i have put them in drawable folder. I have deleted my other folders such as drawable-hdpi, mdpi, ldpi, xhdpi from eclipse project and have made the APK of my project.

我的问题是,将我的应用程序(APK生成)上的所有设备和平板电脑(我不关心UI的外观)工作?还是可以在某些设备/平板电脑创建ResourceNotFound例外,因为是不是所有夹绘制present?

My question is that will my application(generated apk) work on all the devices and tablets( i am not concerned about how the UI will look)? Or can it create ResourceNotFound Exception on some devices/tablets as there are not all drawable folders present?

推荐答案

没有任何限定符(布局,绘制,原材料,价值观等)的文件夹是默认文件夹。机器人会在他们的每个资源,如果它没有在有资格该设备的文件夹中找到。如果你在他们的任何资源的副本,你的的永远不会为特定资源ResourceNotFound例外,除非制造商引入了一个bug到他们的ROM。

The folders without any qualifiers (layout, drawable, raw, values etc.) are the default folders. Android looks for each resource in them if it isn't found in the folders that qualify for that device. If you have a copy of any resource in them, you should never get a ResourceNotFound exception for that particular resource, unless the manufacturer introduces a bug into their ROM.

这篇关于Android的可绘制华电国际xhdpi MDPI LDPI概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆