Scroll View Help

Hi,
I want to make a small scrollable area of buttons in the center of screen. There will be many buttons but I want to show only 3/4 of them. I have tried with tableview but it is for the whole screen.

I have uploaded an image to illustrate this. You will find it here.
https://docs.google.com/open?id=0B00ENcwlRMozUnZoekJUaDJjdVk
Please give me a solution.
Thanks [import]uid: 104777 topic_id: 33776 reply_id: 333776[/import]

in the api description for the scrollView and tableView widget (e.g. http://developer.coronalabs.com/reference/index/widgetnewscrollview) is a solution for that.

ill qoute

WARNING:
If you want a scrollView that does not extend to the full height of the device’s screen, you need to create a bitmap mask that corresponds to the width/height of your scrollView. Read this tutorial to learn how to properly create a bitmap mask specifically for scrollViews and tableViews.

and this is the link to the tutorial: http://developer.coronalabs.com/reference/bitmap-masks-tableviews-and-scrollviews

hope that will fix your problem [import]uid: 42936 topic_id: 33776 reply_id: 134307[/import]

i have develop an application with the same philosophy ( a scrollview menu with buttons ) .
This project has some problems (maybe corona’s bugs) on some android devices.
The problem is that the program can’t figure out when a user touches a button… This is happening because you have 2 objects (scrollview+button) with touch event on them. I 've tried put scrollView:takeFocus( event ) for fixing this, but i think on some devices this is not working… [import]uid: 185094 topic_id: 33776 reply_id: 134471[/import]

in the api description for the scrollView and tableView widget (e.g. http://developer.coronalabs.com/reference/index/widgetnewscrollview) is a solution for that.

ill qoute

WARNING:
If you want a scrollView that does not extend to the full height of the device’s screen, you need to create a bitmap mask that corresponds to the width/height of your scrollView. Read this tutorial to learn how to properly create a bitmap mask specifically for scrollViews and tableViews.

and this is the link to the tutorial: http://developer.coronalabs.com/reference/bitmap-masks-tableviews-and-scrollviews

hope that will fix your problem [import]uid: 42936 topic_id: 33776 reply_id: 134307[/import]

i have develop an application with the same philosophy ( a scrollview menu with buttons ) .
This project has some problems (maybe corona’s bugs) on some android devices.
The problem is that the program can’t figure out when a user touches a button… This is happening because you have 2 objects (scrollview+button) with touch event on them. I 've tried put scrollView:takeFocus( event ) for fixing this, but i think on some devices this is not working… [import]uid: 185094 topic_id: 33776 reply_id: 134471[/import]