Search Header Logo
M0dule2 CPE4O8

M0dule2 CPE4O8

Assessment

Presentation

•

Computers

•

University

•

Practice Problem

•

Medium

Created by

Monarjay Malbog

Used 2+ times

FREE Resource

22 Slides • 13 Questions

1

Mobile Programming

media

Module 2 Lay-outing

2

media

Android is primarily developed by Google.

The initial development of Android began in 2003 by a startup company called Android Inc.

Android

3

media

In 2005, Google acquired Android Inc. and continued the development of the Android operating system under the leadership of Andy Rubin. Google released the first version of Android to the public in 2008

Android

4

media

Android releases are named after desserts or sweet treats in alphabetical order. Some notable versions include Cupcake, Donut, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow, Nougat, Oreo, Pie, and the most recent being Android 11 and Android 12.

Android Naming

5

media

6

media

The Android operating system is based on the Linux kernel, which provides a stable and secure foundation. Android supports multiple programming languages, but the most commonly used languages for Android app development are Java and Kotlin.

Android OS

7

Why Linux?

Overall, the use of the Linux kernel in Android provides a solid foundation for stability, security, device compatibility, performance optimization, and community collaboration, contributing to the success and widespread adoption of the Android operating system.

8

Multiple Choice

The initial development of Android began in 2003 by a company called _____?

1

Apple

2

Microsoft

3

Google

4

Android Inc

9

Multiple Choice

When did Google purchase Android?

1

2003

2

2005

3

2004

4

2006

10

Multiple Choice

Android releases since 1.5 have been given nickname derived from how?

1

Animal

2

Country

3

Food

4

Color

11

Multiple Choice

Which one is not a nickname of an Android version?

1

Cupcake

2

Nougat

3

Pie

4

Mentos

12

Multiple Choice

Android is based on which kernel?

1

Linux

2

Windows

3

Mac

4

Symbian

13

Multiple Choice

Android is based on linux for the following reason:

1

Security

2

Portability

3

Networking

4

All of these

14

Multiple Choice

Which programming language is used for Android Application Development?

1

C#

2

Java & Kotlin

3

Python

4

PHP

15

Multiple Choice

On 7 May 2019, Google announced that the Kotlin programming language is now its preferred language for Android app developers.

1

True

2

False

16

User Interface

  • Everything that the user can see and interact with

  • All user interface elements in an Android app are built using View and ViewGroup objects.

17

User Interface Components

App Bar (Action Bar)

Dialog

Notification

Toast

18

App Bar (Action Bar)

media

19

media

Dialog Box

20

media

Notification Area

21

media

Toast

22

media

ANDROID STUDIO ANATOMY

23

media

ANDROID STUDIO ANATOMY

24

Views

An object that draws something on the screen that the user can interact with

25

Common Types of Layout

Linear Layout

Relative Layout

List View

Grid View

26

LinearLayout arranges views in a single line, either horizontally or vertically.

Based on the layout's orientation attribute.

It is a simple and lightweight layout, ideal for simple UI structures.

Linear Layout

media

27

  • Views can be aligned to the top, bottom, left, right, or centered within the layout.

  • It offers flexible positioning and is useful for complex UI designs.

Relative Layout

media

28

  • Used when the content of a layout exceeds the available screen space.

  • It enables vertical or horizontal scrolling to view the entire content.

  • It is commonly used for displaying lengthy text or lists that don't fit entirely on the screen.

List or Scroll View Layout

media

29

  • Organizes views in a grid-like structure with rows and columns.

  • Views can span multiple rows or columns, providing flexibility in designing grid-based UIs.

  • It is ideal for creating complex grid-like UI layouts.

Grid View Layout

media

30

Multiple Choice

In which directory XML layout files are stored?

1


/res/drawable

2


/src

3


/res/values

4

/res/layout

31

Multiple Choice

While Java or Kotlin source files stored in ....?

1


/res/drawable

2

/src

3

/res/values

4


/res/layout

32

Multiple Choice

an object that draws something on the screen that the user can interact with

1

Class

2


View

3

Viewgroup

4

Source

33

Multiple Choice

A layout that organizes its children into a single horizontal or vertical row.

1

Linear

2

Relative

3

Grid

4

List

34

Multiple Choice

What enables you to specify the location of child objects corresponding each other or the parent?

1

Linear

2

Relative

3

Grid

4

List

35

media

Thank You for Listening

Mobile Programming

media

Module 2 Lay-outing

Show answer

Auto Play

Slide 1 / 35

SLIDE