全屏活动背景图片的大小 [英] Size of fullscreen activity background image

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

问题描述

我有一个使用全屏幕活动与背景位图的应用程序,有多大的背景图片,我需要避免了背景图片的缩放?我已阅读的地方,不同的尺寸为

I got a app that uses a full screen activity with a background bitmap, how big background image do I need to avoid up scaling of the background image? I have read somewhere that the different sizes is

screen size size is at least    size can be upto
xlarge      960dp x 720dp       1920dp x 1080dp
large       640dp x 480dp       960dp x 720dp
normal      470dp x 320dp       640dp x 480dp
smal        426dp x 320dp       470dp x 320dp

如果我不想向上缩放或拉伸全屏活动背景位图应该是大小的

If I don't want up scaling or stretching of the full screen activities background bitmap it should be of size

xlarge      1920dp x 1080dp
large       960dp x 720
normal      640dp x 480dp
smal        470dp x 320dp

这是正确的?

Is this correct?

推荐答案

由于我的经验:

华电国际:

  • 480 * 800
  • 480 * 852
  • 540 * 960
  • 在1024×600(老7平板电脑)
  • 在1280 * 800(7平板电脑)

xhdpi:

  • 720×1280(不知道,我没有这样的设备)
  • 在1080 x 1920
  • 在1920×1080(10平板电脑)

所以,你还必须让你的背景图像按比例能......

So you still have to make your background image scale-able......

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

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