93 questions
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
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.
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 ...
1
vote
1
answer
900
views
Android How to change scrollbar color in Spinner
How can I change the default color of scrollbar present in the spinner?
is it possible to do it on an app level?
<Spinner
android:id="@+id/location"
style="@style/Widget.AppCompat....
0
votes
1
answer
181
views
ListView scrollbarStyle not working properly in a Widget
I'm trying to do a Widget with a ListView, but I want to show the ScrollBar really in the right side, without any padding.
I want it like the gmail calendar Widget. I will show you how with pictures:
...
3
votes
1
answer
3k
views
Android official alphabet fast scroll view
Is there an Android official alphabet fast scroll view? If yes, how to use it?
And I find some third party lib like MaterialScrollBar, but I prefer official version if it exists.
Any help is 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 ...
0
votes
1
answer
1k
views
How to define position of scrollbar view inside recyclerview?
I am trying to do something like this:
I just need to put the scrollbar of the recycler in that position overlaping the views and no more.
Why?
Easy, this interface is a little complex to achieve ...
0
votes
0
answers
60
views
ScrollBarStyle didn't show in apps
i tried make a custom scrollbar style, but it show nothing when the app is running, here is my style
<style name="scrollbar_shape_style">
<item name="android:...
3
votes
1
answer
435
views
Hide scrollbars in complete application
I need to remove scrollbars from the complete application.
I want to avoid the trouble of writing android:scrollbars="none" in all the ScrollViews defined in my application.
Now, here is what I ...
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:...
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'...
0
votes
1
answer
390
views
How to design paginated scrollbar for RecyclerView
I saw this horizontal RecyclerView with a custom scrollbar. The scrollbar features a dot for each item, the select indicator slides gracefully to the next dot as you slide the items right and left.
...
7
votes
3
answers
10k
views
Change RecyclerView scrollBar width
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#...
2
votes
0
answers
3k
views
How to keep the header of Navigation Drawer Fixed ie Non Scrolling header?
How can i keep the Header of Navigation Drawer Fixed and the content below it scrolling?
What i want is that the header of the Navigation Drawer should be fixed ie non scrollable but the content ...
0
votes
1
answer
1k
views
How to make scrollview extend beyond screensize android?
My root element is relative layout, within which I have one LinearLayout wrapped into a scrollview. The LinearLayout has multiple children that include textViews, editText, and other Linearlayouts ...
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.
5
votes
0
answers
2k
views
Modify fast scroll alphabetical bubble
I am trying to change the bubble containing the letter in the scrollbar.
What is its official name BTW ?
I am not talking about the fastScrollThumbDrawable or fastScrollTrackDrawable on the right ...
1
vote
0
answers
508
views
Show/Hide header/divider with the scrollbar position inside a listview
I have an alert dialog which has a list of single choice radio buttons. How can I achieve a behavior where the header divider is hidden when scrolled to bottom, footer divider is hidden when scrolled ...
0
votes
2
answers
1k
views
Android scrollable screen for android charts
There must be questions about this issue, but none of the ones I found related solved my problem. So.
I have the following scenario, I want a screen that I can scroll down over the multiples charts I ...
17
votes
0
answers
1k
views
Is there a way to make Recyclerview Scrollbar thumb of fixed height?
I don't want my custom scrollbar thumb to grow and shrink with the list size. While it worked with ListView and GridView, I can't find any way of doing it with RecyclerView.
I could find fast ...
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
1
answer
787
views
Custom vertical ScrollBar through half part of a listview
I am trying to achieve something like this:
While I am aware of how to customize a ScrollBar, which can be achieved through shape drawables and styles and similarly the thumb, I am looking for an ...
2
votes
0
answers
69
views
Scroll view Issue once long form validated
We have created a sign-up page with scroll view.The page is scrolling well but when we validate page w/o enter a single entry. All error message get on screen. Now when focused on the bottom of the ...
1
vote
0
answers
202
views
Android Custom Scrollbar Like Google's Google Now Launcher
I have found out that is indeed possible to set a custom scroll bar for an android Listview. I am wondering how I can use the custom scrollbar that was used in Google's Google Now Launcher.
How can ...
1
vote
0
answers
133
views
Custom Listview scrollbar
I have found out that it is indeed possible to create a custom scroll bar for an android Listview. I would like to use the scroll bar, that is found in Google's Google Now Launcher, with initial ...
0
votes
0
answers
454
views
How do I restrict a vertical scrollbar to a layout excluding the toolbar?
I've set up a vertical scrollbar for a UI screen when device has a landscape orientation. The scrollbar is on the very right side of the screen and runs from the top of the screen to the bottom ...
0
votes
0
answers
140
views
Disable scrollbar in ScrollView while entering large text
I have an activity that contains scrollView>linearLayout>edittext
And I want to disable the scroll of the ScrollView so that the user can enter texts as much as he wants.
I tried many solutions but ...
3
votes
1
answer
787
views
How to hide Listview's ScrollBars with AppCompat Style
I have several ListViews in my apps, and I write almost the same code in everyone, but some have ScrollBar, they all have android:scrollBars = "none" and it does not work.
So what is the problem? How ...
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
433
views
Is there a way to enable ScrollBar in CodeBehind in Android?
I have written a custom scrollBar in native android. I was able to display the scroll bar in native Android there by setting the below code in the layout.xml file.
android:scrollbars="horizontal|...
1
vote
1
answer
363
views
ScrollBar not showing if the boundry area is padded
Container is a RelativeLayout, inside there is a ListView with padding. Red area is padded and covered with a frame-like image.
So the problem is, ScrollBar only shows up when the items in the ...
0
votes
0
answers
464
views
Adding scroll view to an EditText in Android
Here's a sample layout:
so... The edit text that you see at the bottom most part of the screen has a match_parent attributes on both its layout_height and width.
The max allowed characters are 200, ...
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 ...
0
votes
1
answer
900
views
View Visiblity issue while scrolling of Listview
I have a custom listview with textview and imageview and the imageview like checkmark. on OnItemClickListener of Listview when textview is selected, i will make imageview Visibilty to visible to show ...
0
votes
1
answer
671
views
Android listview scrollbar on top of list items
I have a listview with a scroll bar. I want the scrollbar to sit on top of the list items on the right side, but have a small margin right. So that the scroll bar is slightly indented and does not ...
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....
0
votes
1
answer
765
views
Android ListView padding not working for scrollbar?
I am developing an android game and in a kind of lobby screen with rooms, i have all the content of the screen inside a giant scroll. Here´s an image of it:
http://postimg.org/image/s64pzkxkz/
The ...
0
votes
2
answers
217
views
Android Scrollview thumview change
in application listview i had more than 1000 data in listview and its tedious to scroll. i try to change scroll thume but cannot change.i requre scroll thum like below image
<ListView
android:id="...
1
vote
1
answer
267
views
How to enable a "textView" scrollbar scroll with a thumb?
I have a textview that is wrapped around a ScrollView to display a large dump of text. So far, i've played around with enabling the scrollbar with android:scrollbars="vertical, and turning it ...
0
votes
1
answer
189
views
ThumbDrawable of FastScrollBar is not changing.
EDITED
My ListView is :
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0d2e3a"
android:...
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 :
// ...
1
vote
1
answer
103
views
Scrollbars show up when animating container with textviews (How can i disable it?)
Im using a simple ValueAnimator to animate a LinearLayout's height UP or DOWN.
As I add a new child I use a onPreDrawListener to set the height to what it was prior to the child being added, and ...
0
votes
0
answers
81
views
Need to Scroll the view into RelativeLayout in a new Window in android
I have 2 ListView and they are auto scrollable. So, when a select 2 items form those listViews
A new window(Canvas) will open but i want to that newWindow(Canvas) scrollable. Because that canvas size ...
-2
votes
2
answers
162
views
ScrollBar doesnt work in EditText
Hope all of you doing well.
My Problem is:
I have xml code like following:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android....
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="...
3
votes
2
answers
835
views
Android: Force display of fragment's scrollbar
I have a PreferenceFragment inside an activity. The PreferenceFragment has many items and can be scroll down. To make sure the user notice it, I would like to force the display of the scroll bar.
I ...