Skip to content Skip to sidebar Skip to footer

How Can I Add A Vertical Scrollbar To A Gridview?

The problem was that I had a setEnabled in my code. Sorry. I already fix this I want that my gridview with height = 70dp is scrollable vertically. Copy

Solution 2:

Try to use:

android:scrollbars="vertical"

For vertical scrollbar


Solution 3:

gridView = (GridView)findViewById(R.id.rvProduit1); 
ViewCompat.setNestedScrollingEnabled(gridView,true);

Solution 4:

Add

 android:scrollbars="horizontal"

Post a Comment for "How Can I Add A Vertical Scrollbar To A Gridview?"