Thursday 18 December 2014

The Best Way to Understand User Interface in Android

  User Interface Design is the design of any software and hardware applications with which a user interacts with it to achieve their goals. It describes user behavior and defines how the system will respond to that behavior. It is commonly said that user interaction with the system. Now let us discuss about the user interface design in Android Application Development. User Interface Design mainly classified into

·            Android UI Layouts
·           Android UI Controls
·          Android Event Handling
·          Android Styles and Themes


Layouts
                Android provides a variety of built-in UI components. View object is the basic building block of UI components which is created from View class. View is the base class for widgets. It is responsible for drawing and event handling and also used to create interactive UI components such as buttons, text field etc.Layout types are listed below.

Linear Layout : View group that aligns all children in a single direction, vertically or horizontally.
Relative Layout    :  It displays child views in relative positions.
Table Layout        : Table Layout is a view that groups views into rows and columns
Absolute Layout        : Absolute Layout enables you to specify the exact location of its children.
Frame Layout       :  The Frame Layout is a placeholder on screen that you can use to display a single view.
List View               :  It displays a list of scrollable items.
Grid View              : It displays items in a two-dimensional, scrollable grid.

UI Controls 
UI controls are used to build graphical user interface for the application.

Text View  : This control is used to display text to the user.
Edit Text : Edit Text is a predefined subclass of Text View that includes rich editing capabilities.
Auto complete Text View : An Auto Complete Text View is a view that is similar to Edit Text, except that it shows a list of completion suggestions automatically while the user is typing.
Button : A push-button that can be pressed, or clicked, by the user to perform an action.

Android Event Handling
The interactive components such as button click, screen touch are handled by events.

Event Listeners  : The Event Listener is the object that receives notification when an event happens.
Event Listeners Registration : Event Registration is the process by which an Event Handler gets registered with an Event Listener so that the handler is called when the Event Listener fires the event.
Event Handlers : When an event happens and we have registered and event listener for the event, the event listener calls the Event Handlers, which is the method that actually handles the event.

Styles And Themes
Styles are used in xml which resides under res/values directory .It can be defined by using <style > tag. Each style have name and it is uniquely identify using <item name> tag.

A style applied to an entire Activity or application, rather than an individual View is known as Theme. It is defined by using <theme> tag to include the android: theme attribute with the style name.

if you are looking android application development company in chennai, Please visit the website
http://elicitdesignzsolutions.com/android-development/




Labels: , , ,

5 Comments:

At 10 January 2019 at 18:32 , Blogger ben said...

Your articles are worth reading.
call girl wirral

 
At 4 March 2019 at 08:50 , Blogger James Richard said...

Thanks for sharing information about the Best Way to Understand User Interface in Android. Here is you will get the quick and easy way to write a song now

 
At 5 March 2019 at 14:41 , Blogger Patt P. said...

You are the best at creating these texts. Emergency Dental Care Clapham

 
At 23 March 2023 at 11:47 , Blogger 3deducators said...


Thank you for creating such a value information about "The Best Way to Understand User Interface in Android". cit course in pakistan

 
At 4 June 2023 at 19:06 , Blogger SAMINA NOSHARWAN said...

Apple has recently announced the release of iOS 15, which brings a plethora of new and exciting features to the iPhone. features of iphone 15

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home