MOBSYS Prefinals

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

1/45

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:29 AM on 4/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

46 Terms

1
New cards

user interaction

the ___ in mobile apps typically involves tapping, typing using gestures, or talking

2
New cards
  • think about how users will use your app

  • minimize steps

  • use UI elements that are easy to access, understand, use

  • follow android’s best practices

  • meet user’s expectations

these are the five things to keep in mind when designing an interactive app

3
New cards

button

is usually a rectangle or rounded rectangle with a descriptive caption or icon in its center, can have text, icon, or both

4
New cards

normal, disabled, pressed

these are the three states of a button

5
New cards

raised button

this appears lifted from the screen—the shading around it indicates that it is possible to tap or click it

6
New cards

flat button

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

7
New cards

they include ImageView and floating action buttons (FAB)

what are the two things that clickable images include?

8
New cards

ImageView

is used to display image resources and can be turned into a button

9
New cards

by adding the android:onClick attribute in the XML layout

in what way can we turn an ImageView into a button

10
New cards

in app > src > main > res > drawable folder of the project

the image for the ImageView must already be stored where?

11
New cards

floating action button (FAB)

a circular button that appears to float above the layout

12
New cards

touch gesture

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

13
New cards

input controls

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

14
New cards

(EditText)

a text field ___ is used for entering and modifying text

15
New cards

check box

is used for selecting one or more options

16
New cards

radio button

this restricts the user to select only one option from a set

17
New cards

spinner

is a dropdown menu for selecting only one option

18
New cards

toggle button

this lets the user change a setting between 2 states

19
New cards

switch

a type of toggle button called ___ (for android 4.0+) provides a slider for selection

20
New cards

SeekBar

a ___ is dragged to the left or right to indicate a current progress level

21
New cards

event

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

22
New cards

event listener

this is an interface in the view class that contains a single callback method

23
New cards

when the view to which the listener has been registered is triggered by user interaction with the item in the UI

in event listeners, when will the callback methods be called?

24
New cards
  • onClick()

  • onLongClick()

  • onKey()

  • onTouch()

these are the four common callback methods

25
New cards

onClick()

method when the user either touches or focuses upon the item

26
New cards

onLongClick()

method when the user either touches or focuses upon the item for a second

27
New cards

onKey()

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

28
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)

29
New cards

yes, these two are often used

do most input controls use onClick() and onTouch()?

30
New cards

drawable

is a graphic that can be drawn to the screen and uses the class of the same name for adding rich images in an app with minimal impact on its performance

31
New cards
  • WebP

  • PNG

  • JPG/JPEG

  • GIF

  • BMP

these are the 5 image formats that android supports

32
New cards

WebP

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

33
New cards

portable network graphics

what does PNG mean?

34
New cards

joint photographic experts group

what does JPG/JPEG mean?

35
New cards

graphics interchange format

what does GIF mean?

36
New cards

bitmap

what does BMP mean?

37
New cards

WebP, PNG, and JPG

these are the three recommended image formats

38
New cards

app/src/main/res/drawable

the image file should be saved in the ___ folder of the project (path)

39
New cards

style

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

40
New cards

platform styles

the styles that android provides are called ___

41
New cards

add a <style> element inside a <resources> element in any xml file located in the values folder inside the project’s res folder

how can we create a style?

42
New cards
  • name

  • parent (optional)

  • any number of <item> elements as child elements of <style> and each item includes one style attribute

a <style> element includes these three:

43
New cards

inheritance

allows a style to inherit the properties of an existing style

44
New cards

use the parent attribute to specify the resource ID of the style you want to inherit

how can we inherit a platform style?

45
New cards

use the name of the style you want to inherit as the first part of the new style’s name and separate the parts with a period

how can we inherit a custom style?

46
New cards

theme

is a collection of attributes that define the look and format of an activity or an entire app. any style an be used for this