Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a scrollbar #82

Open
SwordFishKe opened this issue Jun 27, 2022 · 1 comment
Open

Add a scrollbar #82

SwordFishKe opened this issue Jun 27, 2022 · 1 comment

Comments

@SwordFishKe
Copy link

I use VerticalGridView to replace RecycleView in Android TV app and set scrollbar for VerticalGridView in xml as below. But in the end the scrollbar is not showing.

android:scrollbarSize="@dimen/sw_3dp" android:scrollbarStyle="outsideInset" android:scrollbarThumbVertical="@color/white" android:scrollbarTrackVertical="@color/color_B0B0B0" android:scrollbars="vertical"
After I added the following code, the scroll bar can be displayed. But the scrollbar only shows the track but not the thumb.
android:fadeScrollbars="false" android:background="@color/transparent" android:scrollbarAlwaysDrawVerticalTrack="true"
Can help me?

@ZoneLai
Copy link

ZoneLai commented Jan 24, 2024

Have you managed to resolve the issue? @SwordFishKe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants