13 questions
91 votes
13 answers
167k views
Disable scrolling in webview?
Until now I have been an iPhone developer only and now I have decided to give Android a whirl. Something I haven't been able to figure out on Android is how to programmatically prevent scrolling in a ...
34 votes
3 answers
40k views
How can I change the width/thickness of a scrollbar?
Currently this is my scrollbar.xml file: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <gradient android:angle="...
49 votes
12 answers
48k views
Scrollbar not showing in RecyclerView
I've got a RecyclerView and would like to have scrollbar showing, when it covers more than one page. I get no scrollbar at all. Any idea? My layout: <LinearLayout xmlns:android="http://schemas....
40 votes
5 answers
24k views
Scrollbar color in RecyclerView
How can I change the color of my scrollbar in a recyclerView? I have the scrollbar but I want to change its color. My recyclerView is like this: <android.support.v7.widget.RecyclerView ...
105 votes
6 answers
127k views
Remove scroll bar track from ScrollView in Android
My Android app has a main WebView (HTML loaded from a local resource) which I want to use the entire width of the screen and be able to make (vertically) scrollable. So I've wrapped the WebView in a ...
31 votes
5 answers
16k views
How to make the `scrollbar` appear on the left side?
In an Android ListView, how can I make the scrollbar appear on the left side?
4 votes
4 answers
15k views
Android: Make multiline edittext scrollable, disable in vertical scroll view
I am developing an application in which i am struct at a point. As according to my application requirement i created horizontal scrollview in xml and then vertical scrollview in .java as : // ...
6 votes
2 answers
5k views
How to handle the fast-scroller on Lollipop 5.1?
Background I've made a tiny library, which shows how to mimic the style of the stock contacts app of Android Lollipop, here. The problem It seems that on Android 5.1 , the fast scroller looks very ...
6 votes
1 answer
3k views
Scrollbar on Top Side in Horizontal RecyclerView
I am working on the Simple demo of Horizontal RecyclerView. I want to display scrollbar along with the recyclerview. So I have added android:scrollbars="horizontal" and android:scrollbarSize="5dp" in ...
3 votes
1 answer
5k views
smooth horizontal scrolling in webview
I have a wevbiew with a number of 'pages' (columns of text) in it, and want to be able to scroll horizontally between columns in response to Fling gestures. I can do this fine using scrollTo(), but ...
2 votes
1 answer
4k views
Overflow-x:hidden not working w/ Android (Samsung Epic) and possibly others
I'm using CSS media queries to adjust a site's layout based on the resolution/device. I've got the layout looking nice, but I can't make the horizontal scrollbar disappear. I've also tried eliminating ...
1 vote
3 answers
1k views
Android: change color of spinner's popup scrollbar
How can I change the color of the spinner's popup scrollbar? For some reason the color of the scrollbar is currently white on a white background, it is not visible.
0 votes
4 answers
10k views
Auto scroll down on textviews
I have 3 components on my application, 1 textview(inputType:textMultiline, scrollbar:vertical, gravity:bottom|right) at the top, 1 editview at the middle and 1 button at the bottom. When I type ...