Your HorizontalScrollView
should have only 1 child (a horizontal LinearLayout
or something). Try getting the width of that view.
HorrizontalScrollView Full Width
-
12-10-2022 - |
문제
Well, I've developed a HorizontalScrollView
with some buttons inside.
I'm able to get the width of this HorizontalScrollView
through getWidth()
. But that returns the width of the displayed HorizontalScrollView
, not the full extension.
How could I get the full width? I mean, the full width including the buttons that are not displayed on the screen?
Cheers.
해결책
제휴하지 않습니다 StackOverflow