MId_Term_Prep_From_Book Flashcards
The ___________ IDE allows you to create, run and debug Android apps.
Android Development tools
Multi-touch screens allow you to control your Android device with _________________ involving one touch or multiple simultaneous touches.
gestures
The __________ included in the Android SDK, allows you to run Andorid apps in a simulated environment within Windows, Mac OS X, or Linux.
Android Emulator
Android uses a collection of _____________, which are named groups of related, pre-defined classes.
mashups
Almost any noun can be reasonably represented as a software object in terms of ________________ and behaviours.
Attributes
A program unit called a(n) ________ houses the methods that perform its tasks.
class
You send messages to an object. Each message is a(n) ________________ that tells a method of the object to perform its task.
method call
Layout files are considered app resource and are stored in the projects _________ folder. GUI layouts are placed within that folders layout subfolder.
res
When designing an Android GUI, you typically want it to be _____________ so that it displays properly on various devices.
scalable
You can easily _________ your app by creating additional XML resource files for string resources in other languages.
localize
The two measurements units for density independent pixels are ___________ and __________.
dp and dip
___________ enables the use to hear TalkBack speak what’s on the screen where the user touches.
Explore by Touch
Android uses a special folder-naming scheme to automatically choose the correct localized resources - for example, the folder ______ would contain a strings.xml file for Spanish and the _________folder would contain one for French.
values-es, values-ft
To access the app’s assets folder’s contents, a method should get the app’s AssetManager by calling method _________ (inherited indirectly from class Context Wrapper)
getAssets
Files in the assets folders are accessed via a(n) _________ package android.content.res, which can provide a list of all of the file names in a specified subfolder of assets an can be used to access each asset.
AssetManager
A(n) _______________ animation moves a View within its parent.
translate
By default, animations in an animation set are applied in parallel, but you can use the _____________
attribute to specify the number of milliseconds into the future at which an animation will begin.. This can be used to sequence the animation in a set.
android:startOffset
A(n) ______________ –often called a text box or text field in other GUI technologies is a subclass of TextView that can display text and accept text input from the user.
EditText
Use a(n) _________ to arrange GUI components into cells in a rectangular grid.
GridLayout
Android Studio’s ________ window shows the nested structure of the GUI.
Outline
Class __________ of a package andorid.os represents an app’s state information.
Bundle
You implement interface ____________ of package android.text to respond to events when the user interacts with an EditText component.
TextWatcher
Before Android 3.0, a separate _____________ was typically associated with each screen of the app.
Activity
The method ___________ is called by the system when an Activity is starting that is, when its GUI is about to be displayed so that the user can interact with the Activity.
OnCreate
As you build your app’s GUI and add resources to your app, the IDE generates a class named _____________- that contains nested static classes representing each type of resources in your project’s res folder.
R
Class _____________ contains constants for any drawable items, such as images, that you put in drawable folder in your app’s res folder.
R.drawable
Class _____________ contains constants for each String in the strings.xml file.
R.string
Once the layout if inflated, you can get references to the individual widgets using activity’s ___________ method. This method takes an int constant for a specific view.
findViewByID