Android应用设计的分辨率 [英] Android Apps design resolution

查看:245
本文介绍了Android应用设计的分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要设计的Andr​​oid应用程序。
而一些阅读后,我发现Android设备被分为几类在分辨率,长期像

I'm required to design an apps for android. And after some reading, I find out android device are divided into few categories in term of resolution, like


  • 小屏幕

  • 普通屏幕

  • 大屏幕

  • 超大屏幕

,但在不同密度

因此​​,可以说,现在我需要站出来为普通屏幕设计,我应该用什么分辨率,在外观和放大器;感觉。的应用程序的用户界面

So lets say, now I need to come out a design for normal screen, what resolution that I should use for the "look & feel" of the apps UI.

从阅读中,我知道Android应用使用DP,而不是像素。那么,是不是意味着我必须要转换一些具体的屏幕尺寸达到了DP之前,我开始设计?

From the reading, I know android apps are use dp instead of px. So, is it means I have to convert few specific screen size to dp before I start to design ?

或者,我只是单纯的针对正常大小的屏幕分辨率320x480像常见的分辨率,提供我将有几组绘制在不同的密度?

Or I just simply target a common resolution for normal screen size like 320x480, provided I will have few set drawable in different density ?

请纠正我,如果我有错的。

Please correct me if I had mistaken it.

感谢您

推荐答案

好问题,到目前为止,我们有5个屏幕密度:
xxhdpi,xhdpi,华电国际,MDPI,LDPI,现在如果你有一个形象的资源,你需要创建它的5人副本,它总是推荐的xxhdpi直到你达到最小的开始,

Good question, so far we have 5 screen densities : xxhdpi,xhdpi,hdpi,mdpi,ldpi , now if you have an image resource you will need to create 5 copies of it, its always recommended to start by the xxhdpi till you reach to the smallest,

不过,您可以使用网上计算器,将计算所有密度的PX和DP,我建议这两个工具的Andr​​oid开发者工具箱和开发工具,并与开发工具,你可以测试颜色,以及他们如何去看看像在十六进制十进制屏幕。

however you can use online calculators that will calculate the PX and DP for all the densities, i recommend these two tools android developer toolbox and developers tools, and with developers tools you can test the colors, and how are they going to look like in the screen in HEX decimal.

这篇关于Android应用设计的分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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