Android:什么是Holo?

Martin Brinkmann on May 6, 2013 in Google Android 3 【Translated By KillerLegend】

当你在Google Play商店上浏览新的应用或者上介绍Android应用的网站时,你会在术语Holo上打住,犹豫不决。很奇妙的是,这经常发生。有时候,应用程序把Holo添加到它们的名字中去,有时候,在描述应用程序或者应用程序的功能时也用到Holo。

Holo或者Holo主题是一种专为Android应用程序而生的的标准主题。在Android 3.0 蜂巢大会上首次被引进。Google为了能够通过所有的制造商提供给用户统一的体验,要求制造商在android4.0或者更高的版本中包含未经修改的Holo主题,这样他们才可以在他们的设备上整合android市场。制造商仍然可以在他们的设备上装载自定义的主题。

就Holo而言,可以很负责的说,大部分Android4.0或者更高版本的设备中都内置有Holo主题,这样可以便于应用程序充分利用它们的资源。Holo的根本目标是减少(直到消除)各式各样的系统主题。

如果你是一个开发者,你或许已经注意到,你确实只接触过三种不同的Holo主题:Holo Light, Holo Dark and Holo Light with dark action bars。这里有三幅屏幕截图展示了Holo样式以及各种主题之间的不同之处。从左至右依次是:Holo Light, Holo Dark and Holo Light with dark action bars

如果你将Holo设计与以前的Android应用程序设计比较,你会发现Holo已经取得了一个很大的进展。但是开发者仍然可以自己的设计,以使他们的应用程序不需要看起来和这儿的一模一样。

这并不意味着运行着低于Android3.0系统的设备将不能够从Holo设计获取好处。恰恰相反的是,设计者可以在任何地方使用资源,风格或者像Holo主题的东西。

=================================================================下面是英文原文

Android: What does Holo mean?

When you are browsing the Google Play store for new apps, or reading websites that review Android apps, you will eventually stumble upon the term Holo. Chance is, this will happen frequently. Sometimes, applications have Holo added to their name, at other times, it is listed in the description of the app or as one of its features.

Holo, or Holo theme, is a standard theme for Android apps that Google first introduced with Android 3.0 Honeycomb. The company requires manufacturers to include the unmodified Holo theme in Android 4.0 or higher devices if they want to integrate Android Market on their device. Manufacturers can still ship their devices with their own custom themes to provide users with a unified experience across all devices by that manufacturer.

As far as Holo is concerned it is fair to say that the majority of Android 4.0 or higher devices have the themes built-in so that apps can make use of their resources. The basic idea behind Holo was to reduce (virtually eliminate) the design variance in regards to system themes.

If you are a developer, you have noticed that you do have access to three different Holo themes: Holo Light, Holo Dark and Holo Light with dark action bars. Here are three screenshots that showcase how these themes look like and differ from one another.

If you compare the Holo design to the design of previous Android apps you will notice that it has come a long way since then. Developers can still create their own visual designs so that their apps do not need to look like the apps displayed here at all.

That does not mean that devices running a lower version than Android 3.0 cannot benefit from Holo designed apps as well. Designers can use the resources and styles, or use something like Holo Everywhere instead.

Android:什么是Holo?【Translated By KillerLegend】的更多相关文章

  1. Android Design 与 Holo Theme

    转载:http://www.geekpark.net/topics/179488 [核心提示] 提到 Android Design,很多人会做出”啊,知道,就是黑色的背景和灰蓝色的平的按钮嘛”,那么到 ...

  2. Android Design与Holo Theme详解

    在 国内,有个很有意思的现状.一方面,几个国内最大的公司/企业的客户端/应用依旧冥顽不灵,丝毫不愿意遵循 Android Design,以各种扯淡的理由坚持使用 iOS UI 或者 Metro UI, ...

  3. ContactsContract.CommonDataKinds【Translated By KillerLegend】

    http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.html interf ...

  4. android变化HOLO对话风格

    andriod风修改对话框格,通过设置theme实现.一些要素需要通过Java代码更改,下面的对话框更改的步骤的例子称号. 1.写文本样式. DIALOG标题是textview,在sytles.xml ...

  5. android修改HOLO对话框风格

    andriod中修改对话框的风格,可以通过设置theme来实现,部分元素需要通过Java代码来修改,下面以修改对话框的标题为例说明各步骤. 1.编写一个文本样式. DIALOG的标题是一个textvi ...

  6. android常见问题(一)

    一:文本的颜色选择器: 在res目录下面创建color文件夹,在color文件夹下面创建font_style_colors.xml文件<?xml version="1.0" ...

  7. Android Toolbar 开发总结

    初识 Toolbar Toolbar是在 Android 5.0 开始推出的一个 Material Design 风格的导航控件 ,Google 非常推荐大家使用 Toolbar 来作为Android ...

  8. 最简单的android自定义进度条样式

    一.自定义圆形进度条样式 1.在安卓项目drawable目录下新建一个xml文件如下:<?xml version="1.0" encoding="utf-8&quo ...

  9. Android Drawable 那些不为人知的高效用法

    转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/43752383,本文出自:[张鸿洋的博客] 1.概述 Drawable在我们平时的 ...

随机推荐

  1. [Java] SSH框架笔记_Struts2配置问题

    1.Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Progr ...

  2. 【Linux/Ubuntu学习 14】Linux下查看文件和文件夹大小

    当磁盘大小超过标准时会有报警提示,这时如果掌握df和du命令是非常明智的选择. df可以查看一级文件夹大小.使用比例.档案系统及其挂入点,但对文件却无能为力.    du可以查看文件及文件夹的大小. ...

  3. 【Android 界面效果12】EditText中的多行输入问题

    ------- 源自梦想.永远是你IT事业的好友.只是勇敢地说出我学到! ---------- 我们在使用EditText进行多行输入的时候,通常的写法如下: <EditText android ...

  4. redis存储对象,实体类新加字段空指针问题处理

    redis是一个key-value存储系统.和Memcached类似,它支持存储的value类型相对更多,包括string(字符串).list(链表).set(集合).zset(sorted set ...

  5. VS2013 支持python和nodejs

    一.在VS2013中,安装python的支持 1. http://pytools.codeplex.com/下载插件 2. https://www.python.org/download/下载Pyth ...

  6. ASP.NET后台注册JS的方法

    1. 用Response.Write方法 代码如下: Response.Write("<script type='text/javascript'>alert("hel ...

  7. Kinect For Windows V2开发日志四:使用OpenCV显示深度图像

    代码示例: #include <Kinect.h> #include <iostream> #include <opencv2\highgui.hpp> using ...

  8. JDBC批处理读取指定Excel中数据到Mysql关系型数据库

    这个demo是有一个Excel中的数据,我需要读取其中的数据然后导入到关系型数据库中,但是为了向数据库中插入更多的数据,循环N次Excel中的结果. 关于JDBC的批处理还可以参考我总结的如下博文: ...

  9. html学习笔记1

    一.特殊按键和快捷键 键盘上除了有字母.数字之外,还有一些特殊的按键:ctrl.shift.alt.tab ● ctrl键是英语control"控制"的意思,这个按键,单独按没有任 ...

  10. Set集合——HashSet、TreeSet、LinkedHashSet(2015年07月06日)

    一.Set集合不同于List的是: Set不允许重复 Set是无序集合 Set没有下标索引,所以对Set的遍历要通过迭代器Iterator 二.HashSet 1.HashSet由一个哈希表支持,内部 ...