background preloader

Android

Facebook Twitter

Android Asset Studio. Convert int to Extended ASCII. Clean and user-friendly UIs with ActionBar. During the past few weeks, a lot of amazing features have been integrated to GreenDroid.

Clean and user-friendly UIs with ActionBar

Some of those features includes item-based ListViews, XML-based ListViews 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. Some of you may know, I’m strongly attached to make Android a great mobile platform. In order to that, I think it is compulsory to create user-friendly UIs. I really believe a great Android UI have to be be clear, need to focus on content and should be VERY easy to use … even if the user is my grandfather!

The concept of ActionBar has been introduced with the Twitter application for Android. Google recently explained everything about the advantages of using ActionBar in your applications so I won’t spend a lot of time here talking about those key features. Note: As usual, snippets of code below are all extracted from the GDCatalog and GreenDroid projects. Conclusion. Xml - Android: Tabstyle. DisplayMetrics. Class Overview A structure describing general information about a display, such as its size, density, and font scaling.

DisplayMetrics

To access the DisplayMetrics members, initialize an object like this: DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); Summary Constants public static final int DENSITY_400. 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.

Android Tabs with interacting map and list views « Josh Thought

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. Using custom layouts for “Spinner” or “ListView” entries in Android « APP-SOLUT APPLICATION-SOLUTIONS. 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 View 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: 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. All About Web & Mobile Application Development. Tab Layout. A layout defines the visual structure for a user interface, such as the UI for an activity or app widget.

Tab Layout

You can declare a layout in two ways: Declare UI elements in XML. Button. Learn Android : Android Layout Tutorial. An Android layout is a class that handles arranging the way its children appear on the screen.

Learn Android : Android Layout Tutorial

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. Resource Types. 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/).

Resource Types

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. Frame animations are saved in res/drawable/ and accessed from the R.drawable class. Color State List Resource Define a color resources that changes based on the View state.

Drawable Resources. Custom_view_1.xml. Welcome to code samples for Android developers.

custom_view_1.xml

Here you can browse sample code and learn how to build different components for your applications. Use the categories on the left to browse the available samples. Each sample is a fully functioning Android app. You can browse the resources, source files and see the overall project structure. Free Wireframing Kits, UI Design Kits, PDFs and Resources - Smashing Magazine. Advertisement To mock-up the user interface of a website, software or any other product, you’ll need some basic UI elements.

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

Get Started Developing For Android With Eclipse, Reloaded - Smashing Magazine. Advertisement In the first part1 of this tutorial series, we built a simple brew timer application using Android and Eclipse.

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

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. If you want to get started right away, grab the code from GitHub2 and check out the tutorial_part_1 tag using this: $ git clone $ cd BrewClock $ git checkout tutorial_part_1. 6 Free Android GUI PSD/Templates For Designers. In our previous articles we have collected 11 Free iPhone 4 GUI PSD Templates and 12 Free Apple iPad GUI PSD Templates.

6 Free Android GUI PSD/Templates For Designers

In comparison to Apples iPhone and iPad, Androids guidelines are comprehensive and clear enough, yet they do allow a little room for some original design creativity. The following is a fairly comprehensive free collection of Android GUI PSDs/Templates to help streamline your app design and development, Android GUI PSD V1.0 Android GUI PSD is inspired by idea of teehan+lax.

Free Android GUI PSD Design Template. WebDesignShock has released brand new Android GUI PSD Design Template which you can download for free. They contain well organized layered PSD of essential GUI elements of the Android along with original fonts which should make customization really quick and easy. Android App Developers GUI Kits, Icons, Fonts and Tools. Hot on the heels of our previous GUI article, iPhone and iPad Development GUI Kits, today we focus on Android development. The idea is the same: To help streamline your app design and development, with a fairly comprehensive collection of Android GUI kits, icons, fonts, .psds and tools, that will allow you to focus on developing rather than having to design everything from scratch. In comparison to Apples iPhone, the Android interaction design guidelines are far from being extensive nor are they as regimental.