| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 |
xmlns:tools="http://schemas.android.com/tools" |
| 5 |
android:layout_width="match_parent" |
| 6 |
android:layout_height="match_parent" |
| 7 |
tools:context=".SecondFragment"> |
| 8 |
|
| 9 |
<androidx.constraintlayout.widget.ConstraintLayout |
| 10 |
android:layout_width="match_parent" |
| 11 |
android:layout_height="match_parent" |
| 12 |
android:padding="16dp"> |
| 13 |
|
| 14 |
<Button |
| 15 |
android:id="@+id/button_second" |
| 16 |
android:layout_width="wrap_content" |
| 17 |
android:layout_height="wrap_content" |
| 18 |
android:text="@string/previous" |
| 19 |
app:layout_constraintBottom_toTopOf="@id/textview_second" |
| 20 |
app:layout_constraintEnd_toEndOf="parent" |
| 21 |
app:layout_constraintStart_toStartOf="parent" |
| 22 |
app:layout_constraintTop_toTopOf="parent" /> |
| 23 |
|
| 24 |
<TextView |
| 25 |
android:id="@+id/textview_second" |
| 26 |
android:layout_width="wrap_content" |
| 27 |
android:layout_height="wrap_content" |
| 28 |
android:layout_marginTop="16dp" |
| 29 |
android:text="@string/lorem_ipsum" |
| 30 |
app:layout_constraintBottom_toBottomOf="parent" |
| 31 |
app:layout_constraintEnd_toEndOf="parent" |
| 32 |
app:layout_constraintStart_toStartOf="parent" |
| 33 |
app:layout_constraintTop_toBottomOf="@id/button_second" /> |
| 34 |
</androidx.constraintlayout.widget.ConstraintLayout> |
| 35 |
</androidx.core.widget.NestedScrollView> |