문제

I have a canvas with scrollbars (not using ScrollView), and I need to know the measures of the scrollbars, i.e width and height. Is there any way to determine them? Thanks.

도움이 되었습니까?

해결책

You can use View.getScrollbarSize(). It will return the width of vertical scrollbars or the height of horizontal scrollbars.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top