Manage scroll position in scrollview during orientation change
I have a Bookshelf which is implemented as follows: I have a ScrollView which contains a nested TableLayout which acts as a container for dynamically generated TableRows. <com.test.bookshelf.CustomScrollView android:id="@+id/scrollview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/newHeader" android:overScrollMode="never" android:fadingEdge="none" > <TableLayout android:id="@+id/tblLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="0dp" > </TableLayout> </com.test.bookshelf.CustomScrollView>