UI Development in Android

Description

At the heart of the common controls in Android are two classes:

  • android.view.View
  • android.view.ViewGroup

The View class represents a general-purpose View object. The common controls in Android ultimately extend the View class.

ViewGroup is a view and it contains other views. ViewGroup is the base class for a list of layout classes.

Layout

Android uses the concept of layouts to manage how controls are laid out within a container view.

You can choose from several approaches to build UIs in Android.

  • You can construct UIs entirely in code.
  • You can also define UIs in XML.
  • You can even combine the two-define the UI in XML and then refer to it, and modify it, in code.




















Home »
  Android »
    Android UI »




UI Basics
Action Bar
Animation
Button
Canvas
CheckBox
Clock Date Picker
Dialog
EditText
Event
Fragment
Gesture
GridView
ImageView
Layout
ListView
Map
Menu
Model
OpenGL
ProgressBar
RadioButton
Spinner
Tab
TextView
Thread
Toast
Video
View
WebView