Mobile Phone Programming Modules 1 & 2

Mobile Phone Programming Modules 1 & 2

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

XML namespaces

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

1 year ago

Date created

Mar 1, 2020

Cards (20)

Section 1

(20 cards)

XML namespaces

Front

how we access android attributes and tags that have been defined by Google. Common namespaces are app and tools

Back

View object Example: public void onClick(View view)

Front

Every event handler is sent this argument. We can use this to know which View object was clicked

Back

ConstraintLayout

Front

In this layout, we define rules or guidelines for our layout and let the Android runtime figure out how to best arrange the widgets for the specific user device

Back

R.java

Front

all the Java object representations of all view objects defined in the layout file will be defined in this class at runtime

Back

Intents

Front

These connect Android components by calling other screens, responding to other applications or components, passing data from one component to another and more. Chap 3

Back

inflating

Front

at runtime, creating all of the View and ViewGroup objects as java objects, out of xml layout files

Back

minimum SDK

Front

Our selection for the lowest version of Android that our app will support

Back

Toast message

Front

Feedback to the user in the form of a small popup for a short period of time

Back

package name

Front

a unique name to identify a specific app

Back

sp

Front

size unit recommended for specifying the size of text

Back

.xml

Front

file extension of an Android layout file

Back

ConstraintLayout

Front

An android.view.ViewGroup that allows us to position widgets relative to other widgets See: https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.html

Back

gravity

Front

Determines the location of an object in its container

Back

company domain and application name

Front

Default composition of a package name

Back

gradle

Front

Android Studio's build tool

Back

extends

Front

keyword that indicates the class inherits from a super class (a parent or grandparent class)

Back

menu

Front

What resources folder must contain our menu xml files

Back

onStart()

Front

Life cycle method, when used with MainActivity, is called when the application is launched and subsequently when MainActivity loses then re-gains focus

Back

@+id/"sometext"

Front

Used to create an id in the namespace of the current application

Back

APK file .apk

Front

Android package file type and extension. This is what is downloaded on a user's device. Chap 3

Back