---
title: "Android UI库及组件推荐"
author: "hack_zhang"
date: "2013-03-28T10:40:48Z"
tags: []
categories: ["移动开发"]
slug: "android-ui"
draft: false
lastmod: "2013-03-28T10:40:48Z"
id: 1837848
url: "https://hack-zhang.iteye.com/blog/1837848"
---

**一、UI组件库**

**1. GreenDroid**

![000.png](http://www.juapk.com/data/attachment/forum/201209/05/100121yxpxpzxib05adklt.png "000.png")

该项目可以实现下列的UI设计：

- 动作栏（[Action Bar](http://www.juapk.com/thread-30-1-1.html)）
- 快捷动作（Quick Action）
- 工作区（Workspace）
- 动态列表（Dynamic List）

以及许多更有用的组件。

[项目网站](http://greendroid.cyrilmottier.com/)

/

[示例](https://market.android.com/details?id=com.cyrilmottier.android.gdcatalog)

**2. ActionBarSherlock**

![111.png](http://www.juapk.com/data/attachment/forum/201209/05/100124odzocs88eyqdh25d.png "111.png")

在Google针对手机的动作条API推出前，该项目一直与ICS一起使用。Jake最近将项目拓展到了动作条之外。这里也有针对工作区等的组件。

[项目网站](http://actionbarsherlock.com/)

/

[示例](https://market.android.com/details?id=com.battlelancer.seriesguide)

**3. Android Compatibility Package**

![222.png](http://www.juapk.com/data/attachment/forum/201209/05/100127qhaamhrc6tcmrrzr.png "222.png")

这 是一个来自Google Android库的官方扩展。Compatibility Package顾名思义就是Android官方针对旧平台版本所不支持的API或是Android Framework没有提供的函数库，将其打包发布。它包含了许多非常有用的API。该包同样包含工作区UI设计的实现。

[项目网站](http://developer.android.com/sdk/compatibility-library.html)

**二、UI组件**

**1. iosched**

![333.png](http://www.juapk.com/data/attachment/forum/201209/05/100129jvnig6ggyiinjic6.png "333.png")

这 是一个官方的Google I/O的应用（同样可用在GDD，Google Developer Day）（注：Google I/O是Google每年都会举办的历时两天的开发者大会，该大会谈及各种技术问题。开发人员会提供非常多的示例来展示他们的技术。这个项目专门为了这个 会议提供了一个Android应用程序。）。该应用程序实现了大量的UI设计，成为Google Android设备拥护者的参考标准。强烈推荐使用该应用程序的仪表盘UI设计模式。（

[Google代码链接：Dashboard.java](http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java)

）

项目网站：

[http://code.google.com/p/iosched/](http://code.google.com/p/iosched/)

**2. Android-Viewflow**

该项目的工作区UI设计模式与Google Docs所使用非常相似。

项目网站：

[https://github.com/pakerfeldt/android-viewflow](https://github.com/pakerfeldt/android-viewflow)

**3. android-coverflow**

该项目可以用于完成一个cover flow。在这个项目网站的视频中可以得到更多的信息。

项目网站：

[http://code.google.com/p/android-coverflow/](http://code.google.com/p/android-coverflow/)

**4. android-viewbadger**

该项目让devs无需修改布局文件（layout file）即可显示badges。

项目网站：

[https://github.com/jgilfelt/android-viewbadger](https://github.com/jgilfelt/android-viewbadger)

**5. android-pulltorefresh**

该项目实现动态列表/下拉刷新（pull to refresh）的UI设计。

项目网站：

[https://github.com/johannilsson/android-pulltorefresh](https://github.com/johannilsson/android-pulltorefresh)

**6. Android-ViewPagerIndicator**

该项目可以用于实现工作区的UI设计。

[项目网站](https://github.com/JakeWharton/Android-ViewPagerIndicator)

/

[示例](https://market.android.com/details?id=com.viewpagerindicator.sample)

**7. Android-** PathButton

仿Path按钮动画效果 PathButton

 

[示例](https://github.com/dodola/PathButton)

**8. Android- 瀑布流实例 android\_waterfall**

实现了类似于迷尚android和蘑菇街android的瀑布流布局

 

[示例](https://github.com/dodola/android_waterfall)

**9. Android- 导航菜单 RibbonMenu**

RibbonMenu 是 Android 上的一个导航菜单组件。菜单项直接在 XML 中定义，可添加文本和图标。

 

[示例](https://github.com/darvds/RibbonMenu)

**10. Android- android-calendar-view日期组件**

android-calendar-view 是 Android 平台的一个日历显示组件

 

[示例](http://code.google.com/p/android-calendar-view/)

**11. Android- 组件库 CWAC**

CommonsWare Android Components (CWAC) 是一个开源的 Android 组件库，用来解决 Android 开发中各个方面的常见问题，每个 CWAC 组件打包成一个独立的 jar 文件。

 

[示例](http://commonsware.com/cwac)

**12. Android- Intent开发包 OpenIntents**

[OpenIntents](http://www.juapk.com/thread-30-1-1.html)项目通过"Intents"，Android给连接软件和动态替换组件提供了优秀的基础。Google定义了一批intents（如：打电话啊，联系人清单上选择一个联系人，打开浏览器，电池更换的时候提供提示，等等。

 

[示例](http://www.openintents.org/en/download)

**13. Android- Query轻量级的开发包**

Android-Query (AQuery) 是一个轻量级的开发包，用于实现 Android 上的异步任务和操作 UI 元素，可让 Android 应用开发更加简单、容易，更有趣。

 

[示例](http://code.google.com/p/android-query/)

**14. Android- 日期选择组件 Mobi Pick**

Mobi Pick 是一个 Android 风格的[jQuery Mobile](http://www.juapk.com/thread-30-1-1.html)的日期选择组件。

 

[示例](http://mobipick.sustainablepace.net/)

**15. Android- 开发框架 mobilelite**

为Android应用开发提供一个轻量级开发框架，让开发者可以基于HTML/CSS/JAVASCRIPT快速开发android应用界面，同时也能够利用mobilelite调用android后台的服务。

[官网](http://code.google.com/p/mobilelite/)  [演示](http://code.google.com/p/mobilelite/wiki/SimpleDemo)