Autohide scrollbars when not scrolling in a ListView

前端 未结 4 464
广开言路
广开言路 2021-01-12 09:01

In the new official Twitter app, the scrollbars in all the ListViews the app uses are hidden unless the user is scrolling through the list.

When you start scrollin

4条回答
  •  孤独总比滥情好
    2021-01-12 09:18

    I haven't used them yet, but you might play around with android:scrollbarDefaultDelayBeforeFade and android:scrollbarFadeDuration, available on all widgets (i.e., subclasses of View).

提交回复
热议问题