I have been trying to create an android home screen widget that supports horizontal scrolling.

I put a `GridView` inside the `LinearLayout` of my widget. My `GridView` has some number of columns. I want that at a moment only 5 columns should be visible on the screen and rest should be accessible on scrolling or on click of a button(It should implement a scrolling animation). I used a `HorizontalScrollView` and it said **"Problem Loading Widget"** on my device.

It seems `HorizontalScrollView` is not supported in home screen widgets. Is there another way to implement horizontal scrolling of a `GridView` in android home screen widgets?