93 questions
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 ...
0 votes
2 answers
2k views
Scrollable progress bar
I'm trying making a scrollable horizontal progress bar. Therefore I put the progress bar in Horizontal scroll view and set progress bar min width to 1000 (it's double my screen width). But I still can'...
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 ...
0 votes
1 answer
117 views
dataSetChanged in List Adapter displays scrollbars in Recycler View each time
I have Recycler View (inside SwipeRefreshLayout) with vertical scrollbar with custom thumb color: <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/...
0 votes
0 answers
142 views
Draw scrollbar over RecyclerView.ItemDecoration sticky header
I am extending RecyclerView.ItemDecoration to define a class that enables a RecyclerView to make header view's sticky when they are at the top of the RecyclerView. For this, I need to override ...
0 votes
3 answers
1k views
How to enable fast scrolling to "EditText Field" in android application
I am using EditText, and it has good amount of matter to scroll and read. Now my problem is, it's scrolling slow. So, i want increase it's scrolling speed. If anyone understood my problem and have ...
0 votes
1 answer
266 views
How to set the attribute "android:scrollbars" programmatically for a view in Xamarin Android C#?
I am using NestedScrollView control in my Xamarin Android application as recommended in Android forums. In which the scrollbars are not visible, but the scrolling is working. I want to enable to ...
1 vote
1 answer
1k views
Keep fast-scroll bar in recyclerview from fading
Is there a possibility to keep the scroll-bar of a fast-scrolling recyclerview from fading? Right now I have this recyclerview: <androidx.recyclerview.widget.RecyclerView android:id="@+id/...
1 vote
1 answer
3k views
How to make recyclerview scrollbar always visible?
I need to make RecyclerView Scrollbar always visible. Scrollbar hiding is the default feature of RecyclerView. How can I do it? Any help would be appreciated. Thanks in Advance.
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 : // ...
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?
1 vote
0 answers
165 views
How to change width of track for horizontal scrollbar?
I have got a horizontal recyclerView which use horizontal custom scrollbars but i have an issue, thumb is over than the track, how can i specify the width of track for scrollbar? here is my ...
3 votes
1 answer
3k views
Scrollview doesn't show scrollbar always - android?
I have bellow xml : <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scrollProvince" android:...
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.
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="...