Professional Documents
Culture Documents
Android App Development Lesson 1
Android App Development Lesson 1
• Android App
• Views
• Exercises
• XML Syntax
• DIP or DP
• XML Visualizer
• Assignments
Android App
• Activities
• Intent and broadcast
receivers
• Services
• Content Providers
• Widgets and
Notifications*
VIEWS
Density-independent Pixels - an abstract unit that is based on the physical density of the screen.
These units are relative to a 160 dpi screen, so one dp is one pixel on a 160 dpi screen.
XML Visualizer Demo
XML Visualizer:
https://labs.udac
ity.com/android-
visualizer/#/andr
oid/text-view
Home Activity
EXERCISE 1
https://labs.udacity.com/android-visualizer/#/android/text-view
Home Activity
EXERCISE 2
https://labs.udacity.com/android-visualizer/#/android/wrap-content
Home Activity
EXERCISE 3
https://labs.udacity.com/android-visualizer/#/android/text-size
Home Activity
EXERCISE 4
https://labs.udacity.com/android-visualizer/#/android/text-color
Home Activity
EXERCISE 5
https://labs.udacity.com/android-visualizer/#/android/simple-imageview