I have a transparent toolbar and the RecyclerView is underneath it (as the scrollbar is as well). To correctly show the scrollbar, the scrollbar gets a margin on top. This works fine. The problem now is, I would like the popup indicator to never be above the top position of the scrollbar.
Example:
The scrollbar is positioned in a container view and has a padding of 50dp. So I want the popup to consider the top of the scrollbar + 50dp as the top of the region that is available for the popup, resulting in a popup that is never drawn partly above this border...
I have a transparent toolbar and the
RecyclerView
is underneath it (as the scrollbar is as well). To correctly show the scrollbar, the scrollbar gets a margin on top. This works fine. The problem now is, I would like the popup indicator to never be above the top position of the scrollbar.Example:
The scrollbar is positioned in a container view and has a padding of 50dp. So I want the popup to consider the top of the scrollbar + 50dp as the top of the region that is available for the popup, resulting in a popup that is never drawn partly above this border...