Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Remove the scrollbar #24

Closed
HappyDr0id opened this issue Jun 24, 2013 · 2 comments
Closed

Remove the scrollbar #24

HappyDr0id opened this issue Jun 24, 2013 · 2 comments

Comments

@HappyDr0id
Copy link

I am testing your two-way listview, really great :) is there a way to remove the scrollbar please ? thanks in advance

@michaelgz
Copy link

Same question, especially for horizontal scrolling.

@dandar3
Copy link

dandar3 commented Nov 28, 2013

You can't seem to be able to do it through android:scrollbars="none", and the horizontal or vertical scrollbars are enabled by looking at the orientation - see the code in updateScrollbarsDirection() method.

You can disable them yourself through your code though:

yourTwoWayView.setHorizontalScrollBarEnabled(false);

http://developer.android.com/reference/android/widget/AdapterView.html
http://developer.android.com/reference/android/view/View.html#setHorizontalScrollBarEnabled(boolean)
http://developer.android.com/reference/android/view/View.html#setVerticalScrollBarEnabled(boolean)

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

Successfully merging a pull request may close this issue.

3 participants