niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Screen Scrolling Problem Can't Get It To Scroll Down Canvas #2100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It seems there is a confirmed bug where you use one or more canvas that goes 
vertically height longer than screen height and you turn SCROLLABLE ON. You 
will find that scroll bars to not appear and you cannot scroll. Even if you put 
empty labels between each canvas it then makes an attempt to scroll but its 
very staggering and not fluid.

Here is an example scenario;

I have a screen 1 and screen 2 setup. Both have scrollable checked.

On screen 1 I have a  canvas of 300x646px placed underneath a button 

On screen 2 I have vertical arrangement set to automatic and then I have  20 
canvas with each having an background image of 300x86px and width to fill 
parent and height to automatic. This placement goes well below the screen 
scroll. 

When I display this on my phone via the Connect to Device on the Blocks Editor 
- it does not scroll down for both cases of screen 1 and screen 2. 

The attached file gives and example of the problem.

Original issue reported on code.google.com by jufad...@gmail.com on 4 May 2012 at 6:26

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Agreed with the above, actually the scroll isnt happening only because the 
canvas is not able to differentiate between a scroll gesture and a normal draw 
gesture on top of the canvas, if we reduce the width of the canvas and scroll 
in the non-canvas part of the screen it works fine.  

Original comment by skvign...@gmail.com on 10 Jul 2012 at 2:39