Tag Archive for 'views'

Coverflow widget for Android

Very useful example about creating a coverflow widget using the Gallery component provided by the framework:

If you wish to know more about the Gallery widget, here is a good tutorial with examples:

An older version of the widget can be found here, however this is much more complicated…

Android WebView tutorial

If you have some questions about this useful component of the Android framework, then check out the following tutorial, which provides examples and clear explanation about WebView:
Note You should avoid using WebView frequently, because it eats up a lot of memory. Better generate your UI with layouts and views.

Swipe between views

If you ever wondered, how you can swipe between views like in many iphone application, or simply on the home screen, then check out this post with a solution derived from the open sourced Android home screen:
Note You can find the best solution in the comments, I attached it as java file to this post.
WorkspaceView.java zipped
Note 2 ViewFlipper and ViewAnimator is quite buggy on Android 1.5 & 1.6, and even slow on newer versions.