You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: