Preserve ScrollView position after configuration change

Fixes #239
This commit is contained in:
2017-03-18 22:41:32 -04:00
parent 42bdedb86a
commit e6c9f7f0c9
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
style="@style/Toolbar"/> style="@style/Toolbar"/>
<ScrollView <ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/toolbar"> android:layout_below="@id/toolbar">

View File

@@ -21,6 +21,7 @@
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/scrollView"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/toolbar" android:layout_below="@id/toolbar"