Android Question scrollview options

Lakhtin_V

Active Member
Licensed User
Longtime User
Need help setting up the vertical scroll area. I can't clearly understand the purpose of individual parameters.
For example, this interface element can be compared to a long paper strip that is pulled through a window cut out of cardboard. Sorry for such a comparison...
Then the length of the paper strip is determined by the parameter scrlView.Height
The height of the frame through which we look at the strip is scrlView.Panel.Height
But then I don't understand what the number 390 specified during initialization means scrlView.Initialize(390)
I don't understand how to properly manage the color in this element.
scrlView.Color is the color of the strip.
scrlView.Panel.Color is the color of the frame, but the frame is a hole, what color can it be? Maybe the color of the frame is visible only when the strip is shorter than the height of the frame?
 

klaus

Expert
Licensed User
Longtime User
Then the length of the paper strip is determined by the parameter scrlView.Height
The height of the frame through which we look at the strip is scrlView.Panel.Height
It is the contrary !
The length of the paper strip is determined by the parameter scrlView.Panel.Height
The height of the frame through which we look at the strip is scrlView.Height
The value in the initialize method is the height of scrlView.Panel.Height.
 
Upvote 0

Lakhtin_V

Active Member
Licensed User
Longtime User
It is the contrary !
The length of the paper strip is determined by the parameter scrlView.Panel.Height
The height of the frame through which we look at the strip is scrlView.Height
The value in the initialize method is the height of scrlView.Panel.Height.
If I understood you correctly, then everything is the other way around, I confuse the length of the tape and the height of the frame. When initializing, the length of the tape is set in advance
 
Upvote 0
Top