How do I prevent the ScrollView from scrolling behind the ActionBar? I want the top of the text to be just below the ActionBar.
Add this to your ScrollView xml
android:layout_marginTop="?android:attr/actionBarSize"
If you have android:layout_gravity="center" in your ScrollView or below you can try to remove it
android:layout_gravity="center"