Skip to first unread message

Ptolemy Henson

unread,
Nov 12, 2017, 8:24:51 PM11/12/17
to MIT App Inventor Forum
I have a list view inside a screen with the scrollable property on. I want the list view to be scrollable, but it cuts off at the height. There is no scrollbar, hidden or otherwise. I need the user to be able to see all the items on the list without the list view being huge. I tried putting it in a scrollable vertical arrangement and setting the height to automatic, but it still cut off. How would I add a scrollbar to the list view? I need to do this with multiple list views.

aia file attached.
ServiceManager.aia

Taifun

unread,
Nov 13, 2017, 9:36:21 AM11/13/17
to MIT App Inventor Forum
I have a list view inside a screen with the scrollable property on. I want the list view to be scrollable, but it cuts off at the height. 
there can't be a scrollable component inside another scrollable container 
therefore set the screen to scrollable = false
put the listview into a vertical arrangement having a fix height
and put all other components into a scrollable vertical arrangement

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Ptolemy Henson

unread,
Nov 13, 2017, 10:19:35 AM11/13/17
to MIT App Inventor Forum
Will I be able to keep the lists in the same position that they are now?

TimAI2

unread,
Nov 13, 2017, 10:38:13 AM11/13/17
to MIT App Inventor Forum
Set the height of the scrolling vertical arrangement

Set the height of all the list views to something mega like 1000px (may not be enough depending on your length of lists

If you have all your listviews in a horizontal arrangement just drop the HA into the scrolling vertical arrangement

TimAI2

unread,
Nov 13, 2017, 10:45:26 AM11/13/17
to MIT App Inventor Forum
See here for example:

Abraham Getzler

unread,
Nov 13, 2017, 3:01:20 PM11/13/17
to MIT App Inventor Forum
Have you tried the List Picker component yet?

It is much more screen size friendly.

ABG

Ptolemy Henson

unread,
Nov 13, 2017, 6:31:01 PM11/13/17
to mitappinv...@googlegroups.com
Two posts above was previously marked as an answer, But I tested it some more and it didn't work. The scrollbar did not show up even though the height was set to 9999 pixels. New aia file attached. The arrangement I was working on is on screen 1 called VerticalScrollArrangementCallInfo.
ServiceManager (1).aia

Ptolemy Henson

unread,
Nov 13, 2017, 6:39:31 PM11/13/17
to MIT App Inventor Forum
List Picker does not show list elements on the screen itself. You have to press a button to get it to appear.

TimAI2

unread,
Nov 14, 2017, 1:35:02 PM11/14/17
to mitappinv...@googlegroups.com
You have your arrangements in the wrong places, so it will not scroll

See attached simple demo

Also in gallery

scrolllistview.aia

Ptolemy Henson

unread,
Nov 14, 2017, 3:16:08 PM11/14/17
to MIT App Inventor Forum
Finally got it. Thank you!
Reply all
Reply to author
Forward
0 new messages