In the last week my learning curve for b4a has been huge and I am doing pretty dam good for where I am starting from. However I really suck at screen design and understanding how the design elements all work together. Here is what i am trying to do.
Imagine if you will. A screen with two labels stacked on top of one and another. They each take about 1/3 of the screen, with the last third being some control buttons.(full width btw). I was going to edit the text of each label as information came in. Then I realized I couldn't scroll back to read what was said before. Then I looked and there was something call a scroll view, Whoot whoot that would solve my issue.
I have downloaded the example long text.zip and tried playing with it. The only thing I understand is that the label where the text goes has to be higher than the scrollview box, that is what causes the scrolling effect.
After that I am really struggling. I am wondering if someone could help me design this view. So some questions if i may?
1. is there a limit to how much lines of text can be scrolled through and how is that determined? label box size or scroll view size? or is this a matter of FIFO kind of thinking?
2. Can I have two scroll views be on the same screen at the same time. Think of two channels of info in real time coming into the same screen and being able to scroll through them.
3. does each label need to be in a separate layout? Assuming that both scroll views are on the same layout page.
4. How does each label get associated or attached to a specific scroll view?
As you can see I am really struggling with this design process. I found a rather good video to help but the guy is in Spanish. <sigh>.
A bit long but thanks for helping if you can.
Brad
Imagine if you will. A screen with two labels stacked on top of one and another. They each take about 1/3 of the screen, with the last third being some control buttons.(full width btw). I was going to edit the text of each label as information came in. Then I realized I couldn't scroll back to read what was said before. Then I looked and there was something call a scroll view, Whoot whoot that would solve my issue.
I have downloaded the example long text.zip and tried playing with it. The only thing I understand is that the label where the text goes has to be higher than the scrollview box, that is what causes the scrolling effect.
After that I am really struggling. I am wondering if someone could help me design this view. So some questions if i may?
1. is there a limit to how much lines of text can be scrolled through and how is that determined? label box size or scroll view size? or is this a matter of FIFO kind of thinking?
2. Can I have two scroll views be on the same screen at the same time. Think of two channels of info in real time coming into the same screen and being able to scroll through them.
3. does each label need to be in a separate layout? Assuming that both scroll views are on the same layout page.
4. How does each label get associated or attached to a specific scroll view?
As you can see I am really struggling with this design process. I found a rather good video to help but the guy is in Spanish. <sigh>.
A bit long but thanks for helping if you can.
Brad