I want to create a diagram that expands with the "+" symbol !!!!!!!! Using the app inventor someone adds this in app inventor developers of the app inventor or developers google!
--
Maybe you can post an example of what your diagram should look like?
--
This is not at all clear to me. If you are talking about something like mind maps, where you have trees of nodes with text and where you can hide parts of the tree, and then expand the tree again by clicking on a + symbol, no this is not possible in App Inventor, because there is no possibility to dynamically create buttons.
One clumsy solution could be to predefine 20 labels and buttons and make them all invisible:
Label
Button
Label
Button
...
And make them visible when needed.
Another clumsy way would be to use a canvas and draw your diagram on it, where you remember the precise locations of to + sign. You can detect that the user clicks that part of canvas and then redraw the extend diagram.
One clumsy solution could be to predefine 20 labels and buttons and make them all invisible:
Label
Button
Label
Button
...
And make them visible when needed.
Another clumsy way would be to use a canvas and draw your diagram on it, where you remember the precise locations of to + sign. You can detect that the user clicks that part of canvas and then redraw the extend diagram.
The easiest way would be to learn JavaScript and html and use a webviewer.
--
댓글 없음:
댓글 쓰기