I want to edit an existing xml layout, using Java. I thought the following 
2 lines would work. but Android does not display the layout. what am i 
doing wrong?

ScrollView sv = (ScrollView)findViewById(R.layout.main_scrollview_layout);
setContentView(sv);


Also does anyone know how i can set scrollview to automatically scroll?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to