Android

FacebookTwitter

Clean and user-friendly UIs with ActionBar

http://cyrilmottier.com/2010/07/20/clean-and-user-friendly-uis-with-actionbar/ During the past few weeks, a lot of amazing features have been integrated to GreenDroid . Some of those features includes item-based ListView s, XML-based ListView s SegmentedBar , etc. Today, I’d like to introduce you with a brand new addition to the GreenDroid library project: the ActionBar and all of its related classes.

DisplayMetrics

Class Overview A structure describing general information about a display, such as its size, density, and font scaling. To access the DisplayMetrics members, initialize an object like this: DisplayMetrics metrics = new DisplayMetrics (); getWindowManager (). getDefaultDisplay (). getMetrics ( metrics ); Summary Constants http://developer.android.com/reference/android/util/DisplayMetrics.html

Android Tabs with interacting map and list views « Josh Thought

Last tutorial , we wrote a simple app that displays two interacting list views in a TabActivity . In this tutorial, we will up the ante and add a MapView as the content of one of the tabs. Why again are we using multiple views in an activity instead of using a separate activity for each tab content? Remember, we want our tabs to be able to easily interact with one another, and keeping them as views allows us to handle the logic and interaction within one activity. So, our goal in this tutorial is to have a list of geo coordinates and when we click on an item in the list, our map view goes to that location. First off, let’s create an XML layout that contains a TabHost , TabWidget , a ListView , and a MapView . http://joshclemm.com/blog/?p=86
http://permadi.com/blog/2010/03/android-sdk-using-custom-view-in-xml-based-layout/

Android SDK: Using Custom View In XML Based Layout

This tutorial demonstrates how to use a custom view class (that is a class derived from or its subclass) in an XML layout. This demonstration assumes basic familiarity with Android SDK and its XML layouting mechanism, the code is written in Android SDK 2.1. Creating The Custom View Class To begin with, let’s create a custom view class. For demonstration purpose, the one I am using is below: package com.permadi.example;
http://blog.androgames.net/10/custom-android-dialog/

Android custom Dialog

Posted by Tonio | Filed under Tutorial Android provides a AlertDialog class that ease the building of Dialog windows throught it’s Builder inner class. However, it’s not possible to customize these AlertDialog windows. To give AlertDialog windows a custom Look and Feel, a solution is to create application specific AlertDialog and AlertDialog.Builder class.
http://www.londatiga.net/it/how-to-create-custom-window-title-in-android/ Home » Information Technology » Programming » Android » How to Create Custom Window Title in Android When building an application, sometimes we need to create a custom window title to suit our needs and make our application differs from others. There are two approaches to create custom window title, first is by creating custom style and apply it as theme in application manifest and the second is by creating a custom xml layout and combined with custom style as in first approach.

How to Create Custom Window Title in Android | All About Web & Mobile Application Development

A layout defines the visual structure for a user interface, such as the UI for an activity or app widget . You can declare a layout in two ways: Declare UI elements in XML . Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for widgets and layouts.

Tab Layout

http://developer.android.com/guide/topics/ui/declaring-layout.html#CommonLayouts
http://developer.android.com/reference/android/widget/Button.html

Button

Represents a push-button widget. Push-buttons can be pressed, or clicked, by the user to perform an action. A typical use of a push-button in an activity would be the following: public class MyActivity extends Activity { protected void onCreate ( Bundle icicle ) { super . onCreate ( icicle ); setContentView ( R . layout . content_layout_id ); final Button button = ( Button ) findViewById ( R . id . button_id ); button . setOnClickListener ( new View .
http://www.learn-android.com/2010/01/05/android-layout-tutorial/

Learn Android : Android Layout Tutorial

An Android layout is a class that handles arranging the way its children appear on the screen. Anything that is a View (or inherits from View) can be a child of a layout. All of the layouts inherit from ViewGroup (which inherits from View) so you can nest layouts. You could also create your own custom layout by making a class that inherits from ViewGroup. The standard Layouts are: AbsoluteLayout FrameLayout LinearLayout RelativeLayout TableLayout
http://developer.android.com/guide/topics/resources/available-resources.html Each of the documents in this section describe the usage, format and syntax for a certain type of application resource that you can provide in your resources directory ( res/ ). Here's a brief summary of each resource type: Animation Resources Define pre-determined animations. Tween animations are saved in res/anim/ and accessed from the R.anim class.

Resource Types

To help you understand some fundamental Android APIs and coding practices, a variety of sample code is available from the Android SDK Manager. Each version of the Android platform available from the SDK Manager offers its own set of sample apps. To download the samples: Launch the Android SDK Manager.

custom_view_1.xml

Android GUI PSD Vector Kit - Smashing Magazine

In this post we release Android GUI Starter Kit , a set that comes with several button elements as well as different interface options for Android GUI. This set was designed by Pavel Maček and released especially for Smashing Magazine and its readers. Android GUI PSD is based on elements of Android 1.5 GUI and was made to help open-source community with Android applications mock-ups. Most of the elements and phone illustration are made in vector path so they are easily resizable. For text Android Sans was used.

Free Wireframing Kits, UI Design Kits, PDFs and Resources - Smashing Magazine

To mock-up the user interface of a website, software or any other product, you’ll need some basic UI elements. And this is where wireframing kits and UI design kits come in handy. When you want to create a low-fidelity prototype for your projects, you can use these kits to give your idea a certain shape, keeping it abstract and not losing yourself in details. In this post, we’ve prepared an overview of useful web and mobile user interface kits , handy PDFs and resources that you can use in your projects. We’ve carefully selected the most useful kits and resources to get you going in the early stages of a project.

Get Started Developing For Android With Eclipse, Reloaded - Smashing Magazine

In the first part of this tutorial series, we built a simple brew timer application using Android and Eclipse. In this second part, we’ll continue developing the application by adding extra functionality. In doing this, you’ll be introduced to some important and powerful features of the Android SDK, including Persistent data storage, Activities and Intent as well as Shared user preferences. To follow this tutorial, you’ll need the code from the previous article.