Questions tagged [fastscroll]

90 questions
4
votes
0 answers

Android - xml drawable shape size set to fill parent?

I'm working on a fast scrollbar. I want to use the Android 5.1 style fast scrollbar on older devices (I'm testing on Android 5.0.2, API 21). Here's a picture of what I've got so far. (I can't post photos yet because of the reputation system (I'm new…
4
votes
2 answers

How to customize the fast scroll preview letter

I need to customize the fast scroll letter preview (the big M in the screenshot) with a custom background asset, but I can't find any documentation about it. Can you help me out?
Santacrab
  • 3,165
  • 2
  • 25
  • 31
4
votes
5 answers

Android L: Fast scroll for the RecyclerView

I'm trying to use RecyclerView in my application with lots of data in it and would like to make a fast scroll for it, just like for the ListView. Approach from this answer worked for me with ListView, but does not work for the RecyclerView. Even if…
4
votes
1 answer

Add fast scroll to a AlertDialog.Builder scrolllist

I have a large list of users being displayed in an AlertDialog as a selection list. This is the code I am using to generate it: AlertDialog.Builder builder = new AlertDialog.Builder(thisContext); builder.setTitle("User"); …
cain
  • 1,028
  • 1
  • 12
  • 26
3
votes
1 answer

Fast scroll behavior on earlier android versions

I'am developing an application for android spanning from API level 8 to 14. I'am trying to get the same fast scroll behavior of android 4 (see contacts-app) in the earlier versions (fixed stylish scrollbar on the right side). Has anyone an idea how…
Neonfly
  • 31
  • 5
3
votes
1 answer

ListAdapter with implemented SectionIndexer throws ClassCastException

I'm trying to implement a ListAdapter by implementing the Interface not extending BaseAdapter sub classes like ArrayAdapter. But all I get in return is a ClassCastException telling me nothing about its specific cause. First about the Application I…
kneo
  • 396
  • 1
  • 13
3
votes
2 answers

Styling the sectionIndexer

Has anyone found a way to style the widget that appears when SectionIndexer is used? Styling changes such as changing the text color or the background color.
metric152
  • 422
  • 4
  • 16
3
votes
1 answer

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 appreciated.
Smiles
  • 481
  • 1
  • 6
  • 15
3
votes
2 answers

Recyclerview fast scroll items disappear

I am using GridLayoutManager with recyclerview, when i fast scroll down one item out of four visible grid items (bottom right ) is moved further down, I am using this tutorial to implement fast scroll and fast scroll indicator here
Mohammad Khan
  • 571
  • 5
  • 13
3
votes
1 answer

How to enable fast scroll (thumb) in Android Spinner's drop-down menu?

In an application I have a Spinner that has tens of items. When the user taps on the spinner, a popup dialog appears that shows the list of possible selections. However, since there are (sorted) tens of items, I want the user to be able to use the…
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228
3
votes
0 answers

Android ListView Fast Scroll - onItemLongClick event is triggered when using slider

I have encountered a really weird behavior of Fast Scroll function of ListView component (listView.setFastScrollEnabled(true); ) on Android 4.4, 5.0, 5.1 (4.2.2 and older versions work ok). If the OnItemLongClickListener is set on ListView the…
Quark
  • 1,578
  • 2
  • 19
  • 34
3
votes
0 answers

How Can I change the Gridview Fast Scrollbar style?

How can I change the Fast scrollbar style in gridview in android. When I scroll the gridview images then fast scroll is displaying but the textview displaying very big size. So I want to set custom style in place of default.
Hitendra Joshi
  • 180
  • 1
  • 8
3
votes
1 answer

ListView fast scroll bars bug

I'm working on dictionary application. I have a listview with fast scroll enabled and adapter which implements SectionIndexer. When I'm working with chinese dictionary I have much more sections then when working with west-european languages and have…
Lingviston
  • 5,479
  • 5
  • 35
  • 67
2
votes
1 answer

How to override the Android ListView fast scroller appearance

I'm trying to implement a ListView with a FastScroll mechanism which uses time rather than A-Z Unfortunately I can't seem to find a way into the layout used by the FastScroller index - it seems determined to show a small black square with very large…
Stuart
  • 66,722
  • 7
  • 114
  • 165
2
votes
5 answers

Android ListView fastScrollThumbDrawable not working

i am doing an app where i want the fastscroll tab on my listview to be a custom thumb tab. reading the docs online i thought this would do…
user1217891
  • 21
  • 1
  • 3