Hello All,

I am developing a Custom HomeScreen
as in the image attached:

It has 3 screens. Screen 1 and Screen 2
has an overlap. Screen 2 and Screen 3 has
an overlap widget.

I created a horizontal scrollview with
3 linearlayouts (vertical) of size 320x480dip
and put 1 button on each layout.

<HorizontalScrollView>
 <LinearLayout>
 </LinearLayout>
 <LinearLayout>
 </LinearLayout>
 <LinearLayout>
 </LinearLayout>
</HorizontalScrollView>

On click of the button, I try to scroll the screen but
scroll is not working. I used the following code:

scrollview.setSmoothScrollingEnabled(true);
scrollview.scrollTo(320, scrollview.getTop());


Could anyone please help me in fixing this?

Thanks,
Ram

-- 
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

<<attachment: HS.png>>

Reply via email to