Open the ScrollingText2 app that you created in the Working with TextView Elements lesson.
-
- Change the subheading so that it wraps within a column on the left that is 100 dp wide, as shown below.
-
- Place the text of the article to the right of the subheading as shown below.
How many views can you use within a ScrollView? Choose one:
- One view only
-
- One view or one view group
- As many as you need
Which XML attribute do you use in a LinearLayout to show views side by side? Choose one:
-
- android:orientation="horizontal"
- android:orientation="vertical"
- android:layout_width="wrap_content"
Which XML attribute do you use to define the width of the LinearLayout inside the scrolling view? Choose one:
-
- android:layout_width="wrap_content"
- android:layout_width="match_parent"
- android:layout_width="200dp"