CSCI 370 - View Groups and Layouts

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 13

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

14 Terms

1

views

basic building blocks of an android graphical user interface, object that knows how to draw itself on the screen, responsible for a rectangular area on the screen and for handling events in that area

New cards
2

Widget

an object that interacts directly with the user (e.g., button or check box)

New cards
3

ViewGroup

a view that acts as a container to hold its children

New cards
4

Layout

a ViewGroup that is responsible for positioning its children on the screen

New cards
5

XML filles for layout

must contain exaclty one root element, is placed in the res/layout or the res/layout-land, compiled into a View resource

New cards
6

Attributes

can be inherited by View classes, some are specific to a view object

New cards
7

id attribute

used to uniquely identify the View within the tree

New cards
8

LinearLayout

displays its child View elements in a linear direction, either vertically or horizontally, creates a scrollbar if the length of the window exceeds the length of the screen

New cards
9

ConstraintLayout

allows you to create large and complex layouts with a flat view hierarchy (i.e., no nested view groups)

New cards
10

TableLayout

ViewGroup that displays its child View elements in rows and columns to HTML
tables, will have as many columns as the row with the most cell

New cards
11

Child views of tableLayout

TableRow objects

New cards
12

stretchable column

can expand in width to fit any extra space

New cards
13

shrinkable column

can be shrunk to fit the table into its parent object.

New cards
14

RecyclerView

view group that displays a list of scrollable items, the layout involves two XML files, is not a layout but is usually the only view within a parent layout

New cards
robot