Lesson 2: Introduction to Android App Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:11 AM on 3/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

47 Terms

1
New cards

Android

It is an open source, Linux based operating system developed by Google that runs on wide variety of devices.

2
New cards

Android Project

It s organized similar to other Java projects, with a few important exceptions. The Android SDK automatically generates certain features specific to an Android project. 

3
New cards

View

It is the base class for widgets which are used to create interactive UI components and is responsible for event handling and drawing.

4
New cards

ViewGroup

It act as a base class for layouts and layout parameters that hold other Views or ViewGroups and to define the layout properties. They are generally called layouts.

5
New cards

setContentView()

To attach View Hierarcy to the screen (for rendering), call [blank] in the Activity

6
New cards

Gradle

is a build system (open source) which is used to automate building, testing, deployment, etc.

7
New cards

Build.gradle

are scripts where one can automate the tasks.

8
New cards

Top-level build.gradle

defines the build configurations that will be applied to all the modules in the project.

9
New cards

Module-level build.gradle

supports various build configurations

10
New cards

<manifest>

This is the root node of each AndroidManifest.xml. It contains the package-attribute, which points to any package in our Activity.

11
New cards

<application>

Root element in the AndroidManifest.xml containing declarations of the application-level components contained in the package.

12
New cards

<activity>

Is the primary thing in an AndroidManifest.xml for an application to interact with the user.

13
New cards

<intent - filter>

It declares what kind of Intents a component supports in an AndroidManifest.xml.

14
New cards

<action>

An action-type that the component supports in an AndroidManifest.xml

15
New cards

<category>

A category-type that the component supports in an AndroidManifest.xml

16
New cards

IntentReceiver

It allows an application to be told about changes to data or actions that happen, even if it is not currently running

17
New cards

ContentProvider

It is a component that manages persistent data and publishes it for access by other applications

18
New cards

application context

It is the central location for all top-level application functionality

19
New cards

Toast

It is a passive, non-blocking user notification that shows a simple message at the bottom of the user‘s screen. A toast typically displays for a few seconds and disappears. 

20
New cards

Snackbar

It is just like s Toast except that it can provide the user with the action button to interact with.

21
New cards

android:weight

It controls the resizing behavior of its child Views. The value is either 0 or 1. Using a weight of 1 makes the View stretch, while using 0 will make that View just as big as needed.

22
New cards

Application Name

The title that will be shown on Android Title bar

23
New cards

Package Name

Apps on particular Android device must have a unique packages, so use com.yourCompany.project

24
New cards

Minimum Required SDK

The minimum Android version that you want to use where your app will run.

25
New cards

Linear Layout

A type of layout. It is used to provide child View elements one by one either in a particular direction either horizontally or vertically based on the orientation property.

26
New cards

Relative Layout

A type of layout. It is used to specify the position of child View elements relative to each other like (A to the right of B) or relative to the parent (fix to the top of the parent).

27
New cards

Constraint Layout

A type of layout. It is used to specify the position of layout constraints for every child View relative to other views present.

28
New cards

Frame Layout

A type of layout. It is used to specify the position of View elements it contains on the top of each other to display only a single View inside the [blank].

29
New cards

Table Layout

A type of layout. It is used to display the child View elements in rows and columns.

30
New cards

Web View

A type of layout. It is a browser that is used to display the web pages in our activity layout.

31
New cards

List View

A type of layout. It is used to display scrollable lists of items in a single column.

32
New cards

Grid View

A type of layout. It is used to display a scrollable list of items in a grid view of rows and columns.

33
New cards

Java

Anatomy of Android Application. This contains the .java source files for your project.

34
New cards

res/drawable

Anatomy of Android Application. This is a directory for drawable objects included in your project

35
New cards

res/layout

Anatomy of Android Application. This is a directory for drawable objects included in your project

36
New cards

res/values

Anatomy of Android Application. This is a directory for files that define your app’s user interface

37
New cards

1. Java

2. res/drawable

3. res/layout

4. res/values

5. AndroidManifest,xml

6. Gradle Scripts

Anatomy of Android Applications

38
New cards

ID

Used if the Java code needs a reference to View

Used in RelativeLayout so XML can refer to earlier ids

39
New cards

Size

Specifies the width and height of the View or ViewGroup respectively

40
New cards

match_parent

  • Fill the parent space (minus padding)

  • Renamed from fill_parent in older versions

41
New cards

wrap_content

  • use natural size (plus padding)

  • An explicit size with a number and a dimension.

42
New cards

android:layout_weight

It controls the resizing behavior of its child Views. The value is either 0 or 1.

Using a weight of 1 makes the View stretch, while using 0 will make that View

just as big as needed.

43
New cards

android:layout_gravity

How the View is aligned within containing View. It specifies how child Views are positioned.

44
New cards

android:gravity

How the text or components inside the View are aligned.

45
New cards

Margins

Is the blank space outside an object

46
New cards

Padding

Is the blank space inside an object

47
New cards

Broadcast Receivers

is a component that responds to system-wide broadcast announcements.

Explore top flashcards

flashcards
Microscopic examination CASTS
34
Updated 657d ago
0.0(0)
flashcards
Zoology Exam 1
145
Updated 45d ago
0.0(0)
flashcards
Med Micro Case Studies
76
Updated 1196d ago
0.0(0)
flashcards
Y2 U1L1 Vamos a acampar
55
Updated 915d ago
0.0(0)
flashcards
Modern World History Midterm
51
Updated 205d ago
0.0(0)
flashcards
World History Exam
232
Updated 1033d ago
0.0(0)
flashcards
Concept of Globalization
22
Updated 1141d ago
0.0(0)
flashcards
Microscopic examination CASTS
34
Updated 657d ago
0.0(0)
flashcards
Zoology Exam 1
145
Updated 45d ago
0.0(0)
flashcards
Med Micro Case Studies
76
Updated 1196d ago
0.0(0)
flashcards
Y2 U1L1 Vamos a acampar
55
Updated 915d ago
0.0(0)
flashcards
Modern World History Midterm
51
Updated 205d ago
0.0(0)
flashcards
World History Exam
232
Updated 1033d ago
0.0(0)
flashcards
Concept of Globalization
22
Updated 1141d ago
0.0(0)