Android 壁纸/背景尺寸 [英] Android wallpaper/background dimensions

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

问题描述

各种 Android 屏幕配置(小、普通和大屏幕,低、中、高密度)的主页壁纸/背景的默认尺寸是多少?

Which are the default dimension of the Home wallpaper/background for the various Android screen configurations (small, normal and large screens with low, medium and high density)?

壁纸是否支持 9-patch PNG 文件?我应该改用这些吗?

Are 9-patch PNG files supported for the wallpaper? Should I be using these instead?

我在 API 级别 5 中找到了一种方法,可以为您提供最小的壁纸尺寸,但我也希望支持以前版本的 Android.

I found a method in API level 5 that gives you the minimum size of the wallpaper, but I would like to support previous versions of Android as well.

谢谢!

推荐答案

壁纸的宽度是纵向模式下设备的两倍.所以 Nexus One 上为 960x800,Droid 上为 960x854,G1/Magic/Hero 上为 640x480,等等.

A wallpaper is twice as wide as the device held in portrait mode. So 960x800 on a Nexus One, 960x854 on a Droid, 640x480 on a G1/Magic/Hero, etc.

这篇关于Android 壁纸/背景尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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