Re: [android-developers] Editing XML file with Java

2012-09-12 Thread TreKing
On Wed, Sep 12, 2012 at 4:11 PM, Shoaib Dar wrote: > Okay, thanks. but by "automatic", i meant that the view should scroll > downward without user interaction; at a pace that i can set up. Call one of the various "scroll" methods at some rate you define, using a Handler or something. -

Re: [android-developers] Editing XML file with Java

2012-09-12 Thread Shoaib Dar
Okay, thanks. but by "automatic", i meant that the view should scroll downward without user interaction; at a pace that i can set up. On Wednesday, September 12, 2012 3:41:44 PM UTC-4, TreKing wrote: > > On Wed, Sep 12, 2012 at 11:45 AM, Shoaib Dar > > wrote: > >> ScrollView sv = (ScrollView)fin

Re: [android-developers] Editing XML file with Java

2012-09-12 Thread TreKing
On Wed, Sep 12, 2012 at 11:45 AM, Shoaib Dar wrote: > ScrollView sv = (ScrollView)findViewById(R.layout.main_scrollview_layout); > setContentView(sv); > This doesn't make sense. findViewByID finds a view withing the Activity's hierarchy, while setContentView sets the View to be the root of the h