Android的活动图像背景大小 [英] Android activity image background size

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

问题描述

我在创建将被用作背景,我的活动图像有点糊涂了。因此,简而言之,我的目的是,我的应用程序应该能够适应不同的屏幕尺寸。因此,应我的三张图片是什么尺寸的像素能够填补设备LDPI,MDPI和HDPI?

I am a bit confused on creating an image which will be acting as a background for my activities. So, in short, my aim is that my application should be able to fit the different screen sizes. Therefore, what size in pixel should my three images be to be able to fill the screen of the device in ldpi, mdpi and hdpi?

感谢您的任何答复。

推荐答案

LDPI -folder,建议大小为240×320。

In ldpi-folder, the recommended size is 240x320.

MDPI -folder,推荐大小小320x480。

In mdpi-folder, the recommended size is 320x480.

华电国际 -folder,建议大小为480×800。

In hdpi-folder, the recommended size is 480x800.

有关此主题的更多信息,可以发现这里

More information about this subject can be found here.

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

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