Your SlideShare is downloading. ×
0
Ui layout (incomplete)
Ui layout (incomplete)
Ui layout (incomplete)
Ui layout (incomplete)
Ui layout (incomplete)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ui layout (incomplete)

406

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
406
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
42
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Android Application DevelopmentUser Interface: Layout Basics
  • 2. User Interface: Layouts● In the Android developer community the term layout is used to mean one of the following two things: ○ A type of resource that defines what is drawn on the screen. Layout resources are stored as XML files in the /res/layout resource directory for the application. A layout resource is simply a template for a user interface screen or portion of a screen. ○ A type of view class whose primary purpose is to organize other controls. These layout classes (LinearLayout, RelativeLayout, TableLayout etc.) are used to display child controls, such as text controls or buttons or images on the screen.● Android user interfaces can be defined as layout resources in XML or created programmatically.
  • 3. User Interface: Layout in Eclipse
  • 4. Defining an XML Layout Resource● The most convenient and maintainable way to design UI● Simplifies the UI design process● This way, we can separate view and logic easily
  • 5. Defining a Layout Programmatically

×