MODULE 3 Flashcards
Material design uses the concept of _____
layers of materials
Tools and rules for consistency
Material design
Types of layouts:
- LinearLayout
- ConstraintLayout
- TableLayout
LinearLayout
UI items laid out linearly
ConstraintLayout:
Constraint handles can anchor elements with each other
TableLayout:
Cells with titles and data
Building blocks that group UI elements
Layouts
Layouts can be activated by _____ method
setContentView
A way to visualize XML without details
Component tree
Units of measurement that provide a uniform appearance on different screen sizes
Density-independent pixels
Regular sizing uses _____ and font sizing uses _____
density-independent pixels | scalable pixels
Specifies the size of child views in a container
layout_weight
Affects the position of items by moving them in a given direction
Gravity
ScrollView:
Scroll through list of views that occupy more space than physical display
CardView:
Represents photos, text, and links in cards