Mobile Zone is brought to you in partnership with:

I am an Android developer and enthusiast with over 10 years of Java development experience. I'm big fan of good design an appreciate well though usability design in applications. Juhani is a DZone MVB and is not an employee of DZone and has posted 104 posts at DZone. You can read more from them at their website. View Full User Profile

Hands on Open Source Android UI Libraries

01.24.2012
| 16718 views |
  • submit to reddit
In a previous post I listed some free UI libraries. In this one I'll take a look at example applications.
There's no better way to experiment how a UI library works than trying it hands on. Many UI library projects provide example apps that are great for exactly that. These apps will give you a good understanding about functionality in real life on real devices. If you're a dev you can present these examples to your designers and let them see what kind of functionality and interaction is available out of the box.
What makes it even better is that source code for these apps is available. If you need any of this functionality simply download the source and use it as an example implementation.


ActionBarSherlock Demos

http://actionbarsherlock.com/

Market link
Source code

ActionBarSherlock is one of the most useful libraries around. The demo app has tons of examples of different functionality including action bar navigation, fragments, loaders and even service broadcasters.






ActionBarSherlock Styled

actionbarsherlock.com
Market link
Source code

This is another ActionBarSherlock app. This one is demonstrating action bar styling.





ViewPagerIndicator Sample

viewpagerindicator.com
Market link
Source code

ViewPagerIndicator example lets you see and feel how different view pager indicator configurations work.



Pull-to-Refresh for Android

www.senab.co.uk/portfolio/pull-to-refresh-for-android
Example app link (apk)
Source code

This example app lets you try out pull-to-refresh functionality on a list.


(direct link to APK)


GDCatalog (GreenDroid)

github.com/cyrilmottier/GreenDroid
Market link
Source code

GreenDroid example app lets you experiment with the rich functionality the library provides. These include custom item views, action bar, segmented bar, quick actions image viewers and pagers.



Hansel and Gretel Sample

hansel-and-gretel.com
Market link
Source code

See how fragment bread crumbs work with this example app.




AndroidQuery Demo Snippets

code.google.com/p/android-query
Market link
Source code

This library isn't UI library but I decided to include it in the list anyways. It includes tons of example samples for network communication XML parsing etc.




Android UI Patterns

No home page available
Market link
No Source Code available

Author of this app has gathered multiple open source library project into one app. Some of the projects are  outdated and I recommend doing a little bit googling for alternatives before you commit to any of the libraries here. The app still gives you a chance to experiment with multiple different libraries to see how they work with you. 
Note that even the app is named very similarly as my blog it is not done by or affiliated with this blog.

 

From http://www.androiduipatterns.com/2012/01/hands-on-open-source-android-ui.html

Published at DZone with permission of Juhani Lehtimaki, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Tags:

Comments

Bauer Vladislav replied on Fri, 2014/06/20 - 8:54am

Thank you for this article, very useful!

I hope it could be also useful for somebody: http://android-arsenal.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.