Slide 1

Slide 1 text

Google Developers Study Jam Android for Beginners Constantine Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt [email protected] +ConstantineMars

Slide 2

Slide 2 text

Agenda ● Fill questionnaire ● Learn ● Take pictures and share with hashtags #devstudyjam, #gdgdnipro, #dataart_dp ● Make Practice Set 1 and send to [email protected] with subject “Practice Set 1” ● Check mail until FRIDAY - we’ll notify you about next lesson

Slide 3

Slide 3 text

Meet Udacity Instructors: Katherine and Kunal

Slide 4

Slide 4 text

Lesson 1A: Building Layouts

Slide 5

Slide 5 text

The long journey

Slide 6

Slide 6 text

Consists of small steps

Slide 7

Slide 7 text

Lesson 1 Plan

Slide 8

Slide 8 text

Use Udacity Lessons

Slide 9

Slide 9 text

Views ● View ● Layout ● User Interface

Slide 10

Slide 10 text

Views are rectangle

Slide 11

Slide 11 text

CamelCase

Slide 12

Slide 12 text

Quiz: Recognize Views

Slide 13

Slide 13 text

Writing code ● “instructions”

Slide 14

Slide 14 text

Android Studio

Slide 15

Slide 15 text

TextView

Slide 16

Slide 16 text

XML Syntax

Slide 17

Slide 17 text

Udacity XML Visualizer http://labs.udacity.com/android-visualizer/

Slide 18

Slide 18 text

Screen density, pixels

Slide 19

Slide 19 text

Screen density, dp

Slide 20

Slide 20 text

Errors

Slide 21

Slide 21 text

Errors and hints

Slide 22

Slide 22 text

Cheatsheet https://drive.google.com/file/d/0B5XIkMkayHgRMVljUVIyZzNmQUU/view?usp=sharing

Slide 23

Slide 23 text

wrap_content

Slide 24

Slide 24 text

Font size

Slide 25

Slide 25 text

Scale-independent pixels

Slide 26

Slide 26 text

Material Design

Slide 27

Slide 27 text

Material Design. Typography https://www.google.com/design/spec/style/typography.html#

Slide 28

Slide 28 text

Color

Slide 29

Slide 29 text

Color

Slide 30

Slide 30 text

ImageView

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

developer.android.com/reference

Slide 33

Slide 33 text

Lesson 1B: Building Layouts

Slide 34

Slide 34 text

ViewGroups

Slide 35

Slide 35 text

Child-Parent relationship

Slide 36

Slide 36 text

Child-Parent relationship

Slide 37

Slide 37 text

LinearLayout

Slide 38

Slide 38 text

LinearLayout orientation

Slide 39

Slide 39 text

RelativeLayout

Slide 40

Slide 40 text

XML

Slide 41

Slide 41 text

Linear Layout. Positioning

Slide 42

Slide 42 text

LinearLayout. Weight

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

RelativeLayout. Positioning

Slide 45

Slide 45 text

Padding vs Margin

Slide 46

Slide 46 text

More complex layouts

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

Practice Set1: Greeting Card App

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

Practice Set 1

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

Advice: Make what you are passionate about https://www.udacity.com/course/viewer#!/c-ud837/l-4034888704/m-4357578613

Slide 53

Slide 53 text

See you on the next lesson :) Study Jam: Android for Beginners Constantine Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt [email protected] +ConstantineMars