Is there a way to programmatically scroll a scroll view to a specific edit text?

I have a very long activity with a scrollview. It is a form with various fields that the user must fill in. I have a checkbox half way down my form, and when the user checks it I want to scroll to a specific part of the view. Is there any way to scroll to … Read more

How to use ScrollView in Android?

I have an XML layout file, but the text is more than fits into the screen size. What do I need to do in order to make a ScrollView? <?xml version=”1.0″ encoding=”utf-8″?> <TableLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:stretchColumns=”1″ > <TableRow> <ImageView android:id=”@+id/imageView” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_marginLeft=”5dip” android:layout_marginTop=”10dip” android:layout_marginRight=”5dip” android:tint=”#55ff0000″ android:src=”https://stackoverflow.com/questions/6674341/@drawable/icon” /> </TableRow> <TableRow> <TextView android:id=”@+id/name” android:layout_width=”wrap_content” android:layout_height=”wrap_content” … Read more