Questions tagged [android-scrollbar]

96 questions
2
votes
1 answer

I want to get my tabs scrollable, but it does not work when using a FragmentTabHost

I am trying to get my scrollable tab to work (a scrolling tab like the menu in Google Play). I am using android.support.v4.app.FragmentTabHost as the tab host and android.support.v4.app.Fragment as fragments. Everything works except that the tab…
Rox
  • 2,647
  • 15
  • 50
  • 85
2
votes
3 answers

make ListView Scrollbar difference and more useful

i have seen a lot of android apps those have a ListView that some differences with my ListViews. in theire ListView Scroll bar seen like this: in picture above when you scroll your list that scroll bar will be shown and u can touch on it and scroll…
aTa
  • 641
  • 2
  • 8
  • 20
1
vote
1 answer

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.
Al-Amin
  • 1,369
  • 1
  • 9
  • 26
1
vote
0 answers

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 RecyclerView:
1
vote
1 answer

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?
Feroz Siddiqui
  • 3,840
  • 6
  • 34
  • 69
1
vote
2 answers

Listview hide scrollbar when not scrolling

As the title says I want to hide a listview's scrollbar when the listview isn't scrolling and show it when scrolling. I know this can be done very easy by setting "android:fadeScrollbars" as an application style if the API is 5 or newer. But I want…
Gratzi
  • 4,633
  • 12
  • 42
  • 58
1
vote
3 answers

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.
Daniele B
  • 19,801
  • 29
  • 115
  • 173
1
vote
0 answers

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 to top and both header/footer visible when the…
1
vote
0 answers

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 this be achieved? Thanks!
1
vote
0 answers

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 letters of app names. How can this be achieved?…
Bobby
  • 1,416
  • 1
  • 17
  • 30
1
vote
1 answer

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 ListViews total height is taller than the…
Alpaslan
  • 233
  • 1
  • 2
  • 11
1
vote
1 answer

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 permanently visible with android:fadeScrollbars="false".…
1
vote
1 answer

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 then I simply animate the height to the new height.…
zoltish
  • 2,122
  • 19
  • 37
1
vote
0 answers

android listView how to modify scrollbar color

I want to change color of my scrollbars in listviews. First I added in the theme: @drawable/myscrollbar @drawable/myscrollbar Next I created…
user2707175
  • 1,133
  • 2
  • 17
  • 44
1
vote
0 answers

Android EditText ScrollingMovementMethod cause Null pointer Exception

In my Edittext scrollView in the scrollview LinearLayout, sometime the edittext throws exception, i dont know why this happen. any one have idea please help me . Thanks on Advance This is my code::: edittext.setOnTouchListener(new…