What can give a name to a text or image view
What is ID tag?
Two Parent layouts we have been working with
What is Linear Layout and Relative Layout
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?
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?
A value which can align the height of the text view to the exact height of the text
What is "wrap_content"?
The unit for exact numbers of margin or text size
What is dp?
A Parent View that works by placing child views according to other views
What is Relative Layout?
The missing code is (2 words):
android:_________="sans-serif-Light"
An attribute of an image view that can adjust how much of the image is seen.
What is scaleType?
A value which can align the height of the text view to the exact height of the parent
What is "match_parent"?
Which alters the position of the inner text? (Margin or Padding)
What is padding?
A Parent view that works by placing views in "lists"
What is Linear Layout?
The missing code is (2 words):
android:_______="@android:color/white"
What is textColor?
Another value you could set this line of code equal to is:
android:scaleType="center"
What is center-crop
The value that is the formal number to set a margin or padding to
What is 8 or 16?
The two attributes that are necessary for a Relative Layout
What is a width and height?
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?