Other
Parent Layouts
Text Views
Image Views
Positioning
100

What can give a name to a text or image view

What is ID tag?

100

Two Parent layouts we have been working with

What is Linear Layout and Relative Layout

100

True or False: All lines of code here are necessary to complete the Text View.

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="30sp"
    android:text="Happy birthday Josie!"
    />

What is false?

100

The unnecessary line of code here:

ImageView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:scaleType="center"
    android:src="@drawable/androidparty" />

What is scaleType?

100

A value which can align the height of the text view to the exact height of the text

What is "wrap_content"?

200

The unit for exact numbers of margin or text size

What is dp?

200

A Parent View that works by placing child views according to other views

What is Relative Layout?

200

The missing code is (2 words):

android:_________="sans-serif-Light"

What is fontFamily?
200

An attribute of an image view that can adjust how much of the image is seen.

What is scaleType?

200

A value which can align the height of the text view to the exact height of the parent

What is "match_parent"?

300

Which alters the position of the inner text? (Margin or Padding)

What is padding?

300

A Parent view that works by placing views in "lists"

What is Linear Layout?

300

The missing code is (2 words):

android:_______="@android:color/white"

What is textColor?

300

Another value you could set this line of code equal to is:


android:scaleType="center"

What is center-crop

300

The value that is the formal number to set a margin or padding to

What is 8 or 16?

400

The two attributes that are necessary for a Relative Layout

What is a width and height?

400

When setting the hex number #2196fb equal to a line of code, what does it do?

Ex: 

android:_____="#2196fb"

Bonus (100pts): What are two options of what could go in the blank?

What is setting your own color?

Bonus: 

What is textColor and background?