Mobile Systems and Technologies Prefinals Reviewer

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

Input Controls

Involves tapping, typing, using gestures, or talking

2
New cards

Button

Is usually a rectangle or rounded rectangle with a descriptive caption or icon in its center. It can text, icon, or both

3
New cards

Syntax to create a button with text

<Button

android:layout_width=”wrap_content”

android:layout_height=”wrap content”

android:src=”@string/button_text” />

4
New cards

Syntax to create a button with icon

<ImageButton

android:layout_width=”wrap_content”

android:layout_height=”wrap content”

android:src=”@drwable/button_icon” />

5
New cards

Syntax to create a button with text and icon

<Button

android:layout_width=”wrap_content”

android:layout_height=”wrap content”

android:src=”@string/button_text”

android:drawableLeft=”@drawable/button_icon” />

6
New cards

Three states of button

These are the states the ____ element:

  • Normal

  • Disabled

  • Pressed

7
New cards

Raised Button

Appears lifted from the screen, the shading around it indicates that it is possible to tap or click it

8
New cards

Flat button

Also known as a borderless button, is a text-only button that looks flat and doesn’t have a shadow

9
New cards

ImageView

Is used to display image resources. It can be turned into a button by adding the android:onClick attribute in the XML layout

10
New cards

Floating Action Button

Is a circular button that appears to float above the layout

11
New cards

Touch Gesture

Occurs when a user places one or more fingers on the touchscreen, and the app interprets that pattern of touches as a particular gesture, such as top, touch and hold, double-tap, fling, or scroll

12
New cards

Input Controls

Are interactive elements in the app’s UI that accept data input

13
New cards

Text Field (EditText)

Is used for entering and modifying text

14
New cards

Syntax that stores the value of the selected option in a String

<Spinner

android:id=”@+id/language_spinner”

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

android:entries=”@array/language_array” />

String text = mySpinner.getSelectedItem().toString();

15
New cards

Toggle Button

Lets the user change a setting between two states

16
New cards

Switch

A type of toggle button, provides a slider for selection

17
New cards

SeekBar

Is dragged to the left or right to indicate a progress level

18
New cards

Event

Occurs when the user interacts with an input control or item in the user interface

19
New cards

Event Listener

Is an interface in the View class that contains a single callback method. These methods will be called when the View to which the listener has been registered is triggered by user interaction with the item in the UI

20
New cards

OnClick()

When the user either touches or focuses upon the item

21
New cards

onLongClick()

When the user either touches or focuses upon the item for a second

22
New cards

onKey()

When the user is focused on the item and presses or releases a hardware key on the device

23
New cards

onTouch()

When the user performs an action qualified as a touch event (a press, a release, or any movement gesture on the screen)

24
New cards

Drawable

Is a graphic that can be drawn to the screen. It is the class used for adding rich images in an app with a minimal impact on its performance

25
New cards

WebP

A modern image format developed by Google that provides superior lossless and lossy compression for images on the web

26
New cards

PNG

Portable Network Graphics

27
New cards

JPG/JPEG

Joint Photographic Experts Group

28
New cards

GIF

Graphics Interchange Format

29
New cards

BMP

Bitmap

30
New cards

Recommended image formats

  • WebP

  • PNG

  • JPG

31
New cards

Style

A collection of attributes that define the look and format of a view

32
New cards

Platform Styles

The styles that Android provides

33
New cards

<style>

This element must include the following:

  • name

  • parent (optional)

  • Any number of <item> elements as child elements of <style>

34
New cards

Inheritance

Allows a style to inherit the properties of an existing style

35
New cards

Theme

Is a collection of attributes that define the look and format of an activity or an entire app. Any style can be used as a theme

36
New cards