How to go to the top of an Activity on Android

1

I'm developing a Java project for Android which is a Quiz and every time I go to the next question I visualize the radio buttons and would like to position the screen on the top, so the user can start reading.

    
asked by anonymous 24.04.2015 / 00:36

1 answer

0

You can go to the top of your% of "softly":

suaScrollView.smoothScrollTo(0,0); 

Or:

suaScrollView.scrollTo(0,0); 
    
24.04.2015 / 20:06