哪个设备决议应开发Android应用程序时,必须牢记? [英] Which device resolutions should be kept in mind when developing Android Apps?

查看:124
本文介绍了哪个设备决议应开发Android应用程序时,必须牢记?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我总新手到Android,但我有iPhone应用程序的一些knowlege。

I am total newbie to Android but I have some knowlege of iPhone apps.

在iPhone,我们发展我们的应用程序保持iPhone / iPad的分辨率记在心里。

In iPhone, we develop our app keeping iPhone / iPad's resolution in mind.

在Android上,我们应该记住哪些设备,因为有它运行在Android上这么多车型?

In Android, which devices should we keep in mind as there are so many models which runs on Android?

谢谢!

推荐答案

像iPhone,Android不具备任何的标准分辨率,使任何应用程序。

但是,是在Android中你必须选择,让您的UI(布局)或不同尺寸的图像(绘制)来处理任何决议。

对,你将在你的时间,因为Android应用开发者遇到的挑战是开发多种屏幕尺寸。有很多事情你的冒险为屏幕大小时要牢记。下面的下面的列表帮助你保持正轨。

One of the challenges that you will encounter during your time as an Android app developer is developing for multiple screen sizes. There are many things to keep in mind during your adventure into screen sizes. The following list below should help keep you on track.


  1. 对于每个图标的大小要求在每个密度发生变化每
    类型的图标。你会发现发射器的图标,菜单图标,状态栏图标,
    标签图标,等等。他们都是建分别为每个
    屏幕像素密度。在构建这些图标,请参考的Andr​​oid
    图标设计准则

  2. 尝试始终使用密度无关像素(DIP)测量
    定义你的用户界面时,单元。这有助于你的应用程序
    扩展到不同的设备。密度无关的像素是
    该比例缩放每个给定的屏幕虚拟像素
    密度

  3. 提供支持屏元素添加到AndroidManifest.xml文件
    帮助Android市场决定你的应用程序是否
    与各种屏幕尺寸兼容。

  4. 提供图形高,中,低密度的设备。而
    这可能会增加您的开发和设计时间,这将大大
    提高应用程序的可用性和外观。

  1. The size requirements for each icon in each density vary for each type of icon. You find launcher icons, menu icons, status bar icons, tab icons, and many more. They are all built differently for each screen density. When building these icons, reference the Android Icon Design Guidelines.
  2. Try to always use the density-independent pixel (dip) measurement unit when defining your user interface. This helps your application scale to different devices. The density-independent pixel is a virtual pixel that scales proportionally for each given screen density.
  3. Provide the supports-screens element to the AndroidManifest.xml file to help the Android market determine whether your application is compatible with various screen sizes.
  4. Provide graphics for high-, medium-, and low-density devices. While this may increase your development and design time, it will greatly improve the usability and appearance of your application.

下面是一些教程: -

Here are some tutorials :-

支持多种屏幕

<一个href=\"http://anidea.com/technology/designer%E2%80%99s-guide-to-supporting-multiple-android-device-screens/\"相对=nofollow>设计师指南支持多种Android设备屏幕

设计Android平板电脑

管理屏幕尺寸

,并必须阅读 Android设计模式

希望这会有所帮助。

Android的资产工作室是最好的在线工具来创建Android应用程序的图形资产。

And Android Asset Studio is best online tool to create Android application graphics assets.

这篇关于哪个设备决议应开发Android应用程序时,必须牢记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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