[android] Make entire report form scrollable, not only the hidden data

This commit is contained in:
Torsten Grote
2019-02-27 13:09:54 -03:00
parent 861dbe20b1
commit 89d24b1753

View File

@@ -1,10 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto" android:fillViewport="true">
xmlns:tools="http://schemas.android.com/tools">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputLayout <android.support.design.widget.TextInputLayout
android:id="@+id/user_comment_layout" android:id="@+id/user_comment_layout"
@@ -75,13 +80,6 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/user_email_layout"/> app:layout_constraintTop_toBottomOf="@+id/user_email_layout"/>
<ScrollView
android:id="@+id/report_scroll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/include_debug_report">
<LinearLayout <LinearLayout
android:id="@+id/report_content" android:id="@+id/report_content"
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -93,10 +91,10 @@
android:paddingStart="@dimen/margin_large" android:paddingStart="@dimen/margin_large"
android:paddingTop="@dimen/margin_small" android:paddingTop="@dimen/margin_small"
android:visibility="gone" android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/include_debug_report"
tools:visibility="visible"/> tools:visibility="visible"/>
</ScrollView>
<ProgressBar <ProgressBar
android:id="@+id/progress_wheel" android:id="@+id/progress_wheel"
style="?android:attr/progressBarStyleLarge" style="?android:attr/progressBarStyleLarge"
@@ -110,4 +108,6 @@
app:layout_constraintTop_toBottomOf="@+id/include_debug_report" app:layout_constraintTop_toBottomOf="@+id/include_debug_report"
tools:visibility="visible"/> tools:visibility="visible"/>
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
</ScrollView>