<ScrollView xmlns:android="http://schemas.android.com/apk/res/
android"
android:id="@+id/pts_scrollView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
>
<HorizontalScrollView xmlns:android="http://
schemas.android.com/apk/res/android"
android:id="@+id/pts_hscrollView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
,,,
</HorizontalScrollView>
</ScrollView>
ScrollView sView =
(ScrollView)ll.findViewById(R.id.pts_scrollView);
// Hide the Scollbar
sView.setVerticalScrollBarEnabled(false);
sView.setHorizontalScrollBarEnabled(false);
HorizontalScrollView hsView =
(HorizontalScrollView)ll.findViewById(R.id.pts_hscrollView);
// Hide the Scollbar
hsView.setVerticalScrollBarEnabled(false);
hsView.setHorizontalScrollBarEnabled(false);
...
Hope this code helps you.
On Aug 12, 3:15 pm, Filip Havlicek <[email protected]> wrote:
> How is this urgent?
>
> http://developer.android.com/reference/android/view/View.html#setHori...)
>
> 2010/8/12 Amit <[email protected]>
>
> > Hi All,
>
> > I am using the HorizontalScrollView. Its working for me perfectly.
>
> > The thing i want is to disable showing of horizontal scroll bar.
>
> > How can i achieve this.
>
> > Thanks in advance.
> > Amit
>
> > --
> > 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]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
--
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