Android.Widget.HorizontalScrollView Class
Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display.

See Also: HorizontalScrollView Members

Syntax

[Android.Runtime.Register("android/widget/HorizontalScrollView", DoNotGenerateAcw=true)]
public class HorizontalScrollView : FrameLayout

Remarks

Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. A HorizontalScrollView is a Android.Widget.FrameLayout, meaning you should place one child in it containing the entire contents to scroll; this child may itself be a layout manager with a complex hierarchy of objects. A child that is often used is a Android.Widget.LinearLayout in a horizontal orientation, presenting a horizontal array of top-level items that the user can scroll through.

The Android.Widget.TextView class also takes care of its own scrolling, so does not require a HorizontalScrollView, but using the two together is possible to achieve the effect of a text view within a larger container.

HorizontalScrollView only supports horizontal scrolling. For vertical scrolling, use either Android.Widget.ScrollView or Android.Widget.ListView.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3