在像素Android的背景图片的大小 [英] Android background image size in pixel

查看:302
本文介绍了在像素Android的背景图片的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建Android中不同分辨率的背景图像。所以,我需要的值(像素)的LDPI,MDPI,华电国际,xhdpi和xxhdpi。重要的是,该图像不会模糊。

I would like to create a background image for different resolutions in Android. So I need the values (in pixel) for ldpi, mdpi, hdpi,xhdpi and xxhdpi. It is important that the image will not be blurred.

我已经阅读多屏幕支持的文件,但有规模的DP,而不是像素。

I have already read the Documentation about multiple screen support but there are sizes in dp instead of pixel.

推荐答案

还有就是屏幕分辨率没有完整的名单,也有对LDPI,MDPI,华电国际,xhdpi和xxhdpi像素为单位的固定值。每一个Android设备可能具有不同的分辨率。如果你想填的所有决议,你必须创建太多的图像。如果你把它们放在你的应用程序,就会使应用程序规模庞大​​。也许更好的做法是使用背景合成图像。

there is no full list of screen resolutions, there are no fixed values in pixels for ldpi, mdpi, hdpi,xhdpi and xxhdpi. Every android device may have different resolution. If you want to fill all resolutions you will have to create too many images. If you put them in your app, it will make the app size huge. Maybe a better approach is to use composite image for background.

这篇关于在像素Android的背景图片的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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