Skip to content

Commit 9e518bd

Browse files
committed
added scrollview
1 parent 5d00a42 commit 9e518bd

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

app/src/main/res/layout/activity_itinerary_results.xml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,32 @@
66
android:layout_height="match_parent"
77
tools:context="reuben.projectandroid.Activities.ItineraryResultsActivity">
88

9-
<TextView
10-
android:id="@+id/textView_itioutput"
11-
android:layout_width="wrap_content"
12-
android:layout_height="wrap_content"
13-
android:layout_marginBottom="8dp"
14-
android:layout_marginLeft="8dp"
15-
android:layout_marginRight="8dp"
16-
android:layout_marginTop="8dp"
17-
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
18-
app:layout_constraintBottom_toBottomOf="parent"
19-
app:layout_constraintHorizontal_bias="0.0"
20-
app:layout_constraintLeft_toLeftOf="parent"
21-
app:layout_constraintRight_toRightOf="parent"
22-
app:layout_constraintTop_toTopOf="parent"
23-
app:layout_constraintVertical_bias="0.0"
24-
tools:text="test" />
9+
<ScrollView
10+
android:layout_width="match_parent"
11+
android:layout_height="match_parent">
12+
13+
<LinearLayout
14+
android:layout_width="match_parent"
15+
android:layout_height="wrap_content"
16+
android:orientation="vertical" >
17+
18+
<TextView
19+
android:id="@+id/textView_itioutput"
20+
android:layout_width="match_parent"
21+
android:layout_height="wrap_content"
22+
android:layout_marginBottom="8dp"
23+
android:layout_marginLeft="8dp"
24+
android:layout_marginRight="8dp"
25+
android:layout_marginTop="8dp"
26+
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
27+
app:layout_constraintBottom_toBottomOf="parent"
28+
app:layout_constraintHorizontal_bias="0.0"
29+
app:layout_constraintLeft_toLeftOf="parent"
30+
app:layout_constraintRight_toRightOf="parent"
31+
app:layout_constraintTop_toTopOf="parent"
32+
app:layout_constraintVertical_bias="0.0"
33+
tools:text="test" />
34+
</LinearLayout>
35+
</ScrollView>
36+
2537
</android.support.constraint.ConstraintLayout>

0 commit comments

Comments
 (0)