安卓:背景影像尺寸(像素中),它支持所有设备 [英] Android: Background Image Size (in Pixel) which Support All Devices

查看:119
本文介绍了安卓:背景影像尺寸(像素中),它支持所有设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建这将运行在所有Android设备的应用程序。我想创建xhdpi图形为我的应用程序。我的应用程序是全屏显示。我很困惑中创建的图形。任何一个可以告诉我,在像素我的背景图片的最佳尺寸。

I am creating an Application which will run on all Android Devices. I want to create xhdpi Graphics for My App. My App is full screen. I am confused in Creating graphics. can any one tell me the best sizes of my background image in pixels.

例如:

  • xhdpi:720x1280像素
  • 华电国际:480×800像素
  • MDPI:小32​​0x480像素
  • LDPI:240×​​320像素

建议我将出现在所有设备上良好的最佳尺寸。因为我的显卡是我的应用程序的核心。

Suggest me the best sizes which will appear on all devices good. Because my graphics are the core of my app.

我想,每一个设备得到其想要的最佳图像。机器人将不涉及COM pressing或扩大的形象。

I want that every device get the best image which it want. Android will be not involved in compressing or expanding of image.

推荐答案

以下是应用程序在所有设备上运行的最佳尺寸。对于理解多支持屏幕,你必须阅读 <一href="http://developer.android.com/guide/practices/screens_support.html">http://developer.android.com/guide/practices/screens_support.html

The following are the best dimensions for the app to run in all devices. For understanding multiple supporting screens you have to read http://developer.android.com/guide/practices/screens_support.html

xxxhdpi: 1280x1920 px
xxhdpi: 960x1600 px
xhdpi: 640x960 px
hdpi: 480x800 px
mdpi: 320x480 px
ldpi: 240x320 px

这篇关于安卓:背景影像尺寸(像素中),它支持所有设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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