HotShoe Well-Known Member Licensed User Longtime User Feb 5, 2015 #1 I post this wish once a year so here we go I'd like to be able to place views directly into the inner panel of a scrollview in the designer. This way we don't have to do it in code and it is less confusing when updating the app and layouts in the future, and just makes the designer tighter and more integrated in the development process. --- Jem
I post this wish once a year so here we go I'd like to be able to place views directly into the inner panel of a scrollview in the designer. This way we don't have to do it in code and it is less confusing when updating the app and layouts in the future, and just makes the designer tighter and more integrated in the development process. --- Jem
corwin42 Expert Licensed User Longtime User Feb 5, 2015 #2 Why can't you create a second layout that you load into the inner Panel of the ScrollView?
HotShoe Well-Known Member Licensed User Longtime User Feb 5, 2015 #3 The question is still, Why should I have to? Why can't I just build the layout I want in the designer to begin with? Why must I load another layout in code? --- Jem
The question is still, Why should I have to? Why can't I just build the layout I want in the designer to begin with? Why must I load another layout in code? --- Jem
T Troberg Well-Known Member Licensed User Longtime User Feb 6, 2015 #4 I agree, this would be good. Sometimes, one wants to add fairly complex layouts to a scrollview (say, a settings screen). It's easier to do in the designer than in code.
I agree, this would be good. Sometimes, one wants to add fairly complex layouts to a scrollview (say, a settings screen). It's easier to do in the designer than in code.
corwin42 Expert Licensed User Longtime User Feb 6, 2015 #5 HotShoe said: The question is still, Why should I have to? Why can't I just build the layout I want in the designer to begin with? Why must I load another layout in code? Click to expand... I don't really see the problem here. I see more problems if it is done the way you want it. Normally the contents of the Scrollview is larger then the ScrollView itself. So how should this be handled in the designer? A scrollbar on the Scrollview to scroll its inner layout? Troberg said: I agree, this would be good. Sometimes, one wants to add fairly complex layouts to a scrollview (say, a settings screen). It's easier to do in the designer than in code. Click to expand... You don't have to make the design by code. Just create the layout of the ScrollView Contents with the designer and load it to the inner Panel.
HotShoe said: The question is still, Why should I have to? Why can't I just build the layout I want in the designer to begin with? Why must I load another layout in code? Click to expand... I don't really see the problem here. I see more problems if it is done the way you want it. Normally the contents of the Scrollview is larger then the ScrollView itself. So how should this be handled in the designer? A scrollbar on the Scrollview to scroll its inner layout? Troberg said: I agree, this would be good. Sometimes, one wants to add fairly complex layouts to a scrollview (say, a settings screen). It's easier to do in the designer than in code. Click to expand... You don't have to make the design by code. Just create the layout of the ScrollView Contents with the designer and load it to the inner Panel.
T Troberg Well-Known Member Licensed User Longtime User Feb 6, 2015 #6 corwin42 said: You don't have to make the design by code. Just create the layout of the ScrollView Contents with the designer and load it to the inner Panel. Click to expand... True, but it's still awkward if the page is ten screens tall...
corwin42 said: You don't have to make the design by code. Just create the layout of the ScrollView Contents with the designer and load it to the inner Panel. Click to expand... True, but it's still awkward if the page is ten screens tall...