Preserve ScrollView position after configuration change

Fixes #239
pull/157/merge
Alinson S. Xavier 9 years ago
parent 42bdedb86a
commit e6c9f7f0c9

@ -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">

@ -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"

Loading…
Cancel
Save