• Like
Lecture 4 User Interface 101
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Lecture 4 User Interface 101

  • 299 views
Published

 

Published in Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
299
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
26
Comments
0
Likes
0

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 Development Lecture 4: User Interface 101 A: Input Controls & Events 1. UI: Overview 2. UI: Input Controls a. Button b. Text fields c. Check box d. Radio button e. Spinner f. Toggle button g. Pickers 3. UI: Input Events Ahsanul Karim karim.ahsanul@gmail.com http://droidtraining.wordpress.com
  • 2. Android User Interface 101 A Quick Overview User Interface of an Android app is made of View and ViewGroup objects
  • 3. Android User Interface A Quick Overview There are two important things: 1. Layouts and 2. Controls 1. Linear Layout 2. Relative Layout 3. Lists & Grids [with adapters] 4. Table Layout
  • 4. Android User Interface A Quick Overview There are two important things: 1. Layouts and 2. Controls a. Button b. Text fields c. Check box d. Radio button e. Spinner f. Toggle button g. Pickers
  • 5. Android User Interface Today We’ll Discuss... Control Type Description Related Classes Button to be pressed/clicked to perform some action Button Text field For different text inputs with or without autocomplete suggestions EditText AutoCompleteTextView Checkbox An on/off switch that can be toggled by the user CheckBox Radio button Similar to checkboxes, except that only one option can be selected in the group. RadioButton RadioGroup Toggle button An on/off button with a light indicator ToggleButton Spinner A drop-down list that allows users to select one value from a set Spinner Pickers DatePicker widget to enter the values for the date DatePicker (month, day, year) or a TimePicker widget to enter the TimePicker values for a time (hour, minute, AM/PM) Source: http://developer.android.com/guide/topics/ui/controls.html
  • 6. Android User Interface Questions... Man who waits for roast duck to fly into mouth must wait very, very long time. -Chinese Proverb