android.view.View Class - Base of User Interface Components

This section describes the android.view.View class which is the basic building block for all user interface components. Android SDK provides over 50 different specific views based on the android.view.View class to help you develop GUI (Graphical User Interface) applications.

android.view.View class is the basic building block for user interface components. A android.view.View object occupies a rectangular area on the screen and is responsible for drawing and event handling.

android.view.View class is the base class for other user interface components like buttons, text areas, etc.

Multiple android.view.View objects can be arranged on the screen based on layouts.

Multiple android.view.View objects can be nested into trees.

One application usually has a single android.view.View tree.

A android.view.View object has the following basic properties:

The Android SDK provides a number of specific view objects as subclasses of the android.view.View class. Some commonly used view subclasses are:

Table of Contents

 About This Book

 Installing JDK 1.8 on Windows System

 Installation of Android SDK R24 and Emulator

 Installing Apache Ant 1.9 on Windows System

 Developing First Android Application - HelloAndroid

 Android Application Package (APK) Files

 Android Debug Bridge (adb) Tool

 Android File Systems

 AboutAndroid - Application to Retrieve System Information

 android.app.Activity Class and Activity Lifecycle

View Objects and Layout Resource Files

android.view.View Class - Base of User Interface Components

 View, ViewGroup, Layout, and Widget

 What Is Layout Resource File?

 AndroidView v1.0 - Creating a Layout in Java Class

 AndroidView v2.0 - Creating a Layout in Resource File

 AndroidView v3.0 - Referencing Views in Resource Files

 AndroidView v3.1 - Layouts with Vertical Orientation

 AndroidView v3.2 - Layouts with Horizontal Orientation

 AndroidView v4.0 - Inserting Views to Parent Layout

 Using "adb logcat" Command for Debugging

 Build Process and Package File Content

 Building Your Own Web Browser

 Android Command Line Shell

 Samsung Galaxy Tab 3 Mini Tablet

 USB Debugging Applications on Samsung Tablet

 Android Tablet - LG-V905R

 USB Debugging Applications on LG-V905R Tablet

 Android Phone - LG-P925g

 USB Debugging Applications on LG-P925g Phone

 Archived Tutorials

 References

 Full Version in PDF/EPUB