什么是创建可绘制不同的DPI的最佳途径 [英] What is the best way to create drawables for different dpi

查看:121
本文介绍了什么是创建可绘制不同的DPI的最佳途径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你创建MDPI绘制第一,只是accordinly扩展到Photoshop中的0.075 / 1.00 / 1.50 / 2的比例由像素或你重新创建每个单独绘制?

Do you create the MDPI drawable first and just scale it accordinly to the .075/1.00/1.50/2 ratio by pixels in photoshop or do you recreate each individual drawable?

也就是它更好地开始与高品质的图像,并开始进行缩放或启动一个MDPI形象,只是它的规模呢?

Also is it better to start with a high quality image and start scaling it down or start with a MDPI image and just scale it up?

下面是我做的:

在Photoshop中创建一个MDPI形象小320x480 porportions和160,因为它的分辨率。保存4图像和只需输入120160,240或320的分辨率更改分辨率。

Create a mdpi image in photoshop with 320x480 porportions and 160 as it's resolution. Save 4 images and changing the resolution by simply entering 120,160, 240, or 320 as the resolution.

推荐答案

从Android的设计准则:

From the Android design guidelines:

策略

那么,你在哪里设计的多个屏幕的时候开始的?   一种方法是在基标准工作(中等大小,MDPI)和   下来为其他桶扩大或。另一种方法是   开始与设备具有最大屏幕尺寸,然后扩展   下来,找出UI妥协,你需要做的更小   屏幕。

So where do you begin when designing for multiple screens? One approach is to work in the base standard (medium size, MDPI) and scale it up or down for the other buckets. Another approach is to start with the device with the largest screen size, and then scale down and figure out the UI compromises you'll need to make on smaller screens.

有关该主题的详细信息,请查看支持多个屏幕。

For more detailed information on this topic, check out Supporting Multiple Screens.

这篇关于什么是创建可绘制不同的DPI的最佳途径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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