> I have a wide ListView that I need to scroll both vertically (for new
> items) and horizontal (to display entire row).
> Is it a good idea to do something like the code below?
>

I don't know if that will work... It might.  Have you tried it?

What are other options if any?


I would try to redesign each row so that it doesn't have to scroll
horizontally to display everything.  If you are dead set against that, you
could try putting a HorizontalScrollView in each item.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jul 5, 2012 at 9:03 AM, kodlan <[email protected]> wrote:

> Hi,
> I have a wide ListView that I need to scroll both vertically (for new
> items) and horizontal (to display entire row).
> Is it a good idea to do something like the code below?
> What are other options if any?
> Thanks beforehand.
>
> <HorizontalScrollView
>>             android:id="@+id/scrollview"
>>             android:layout_width="fill_parent"
>>             android:layout_height="fill_parent"
>>             android:scrollbars="none">
>>
>>                 <LinearLayout android:id="@+id/layout"
>>                         android:layout_width="wrap_content"
>>                         android:layout_height="fill_parent"
>>                         android:orientation="horizontal">
>>
>>                         <ListView android:id="@+id/list"
>>                             android:layout_width="fill_parent"
>>                             android:layout_height="fill_parent" />
>>             </LinearLayout>
>>     </HorizontalScrollView>
>>
>
>
>  --
> 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

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

Reply via email to