Questions tagged [android-scroll]
195 questions
2
votes
1 answer
Optimization of ListView with Asynctask for Smoother Scroll
I am working on a music application and a novice in android applications. I am using ListView to show content which is music files in the device. Here is what I am doing in the ListView:
Showing music file title, artist and duration
Album art of…
user1460340
2
votes
0 answers
Android: Setting ListView fast scroll based on visible positions
I am trying to set the fast scroll enabled and visible if there are more items in the list than are currently visible. After setting the adapter, the ListView's count is properly increased but the last visible position is not. As a result I am…

Daiwik Daarun
- 3,804
- 7
- 33
- 60
2
votes
0 answers
marquee scroll in notification via RemoteViews
I am trying to marquee scroll text in notification bar using RemoteViews. Also, I was able to debug the code to see that the TextView$Marquee was infact running the system of marquee scroll but the TextView on the UI wasn't actually scrolling the…

Jack Frost
- 21
- 2
2
votes
0 answers
Event on GridView scroll end
I want to change some layout parameter dynamically when I reached last element of GridView.
my gridView contains 50 elements so when user start scrolling from 1 line, and when user reach last element i want to change some layout parameter. and when…

khurram
- 1,362
- 13
- 24
2
votes
1 answer
Very Weird Behaviour of Listview
I never seen something like that before but from last few days I am experiencing very peculiar behavior of the Listview and until now I am not been able to isolate the issue.
I only paste the code which I think is necessary and later I will tell you…

mihirjoshi
- 12,161
- 7
- 47
- 78
2
votes
1 answer
How to know the vertical scrolling direction in android i.e. upward or downward
Is there any way to determine that Android (vertical) scroll-view is scrolled upward or downward. I actually have a scenario to implement it.

Husnain Iqbal
- 466
- 6
- 16
2
votes
0 answers
Scroll two layouts at different speed simultaneously
I have a frame layout which Contains Two layouts with scrollviews. The scrollViews are independent of one another.
What I want to achieve is when I scroll through top layout, the layout in the background should also scroll but at different speed.…

Deepak Senapati
- 1,103
- 2
- 11
- 30
2
votes
1 answer
set text to textview in dynamically in android-marquee
How to set TextView Text as dynamically for scrolling marquee.
Please Help me Thanks Advance.
The Listview used for getting the list item to be played in the audio player is as follows.
public class Audiovediolist extends Activity implements…
user1790717
2
votes
5 answers
Android listview not scrolling
i have a layout whose starting tag(parent tag is ) is
later i have many images , textView , Edit text…

Pranav Sharma
- 692
- 2
- 9
- 22
1
vote
1 answer
Event when scrolling is done
In a ScrollView (Vertical or Horizontal) how to know when the scroll animation is done?
I start the animation with smoothScrollBy or smoothScrollTo

Marcos Vasconcelos
- 18,136
- 30
- 106
- 167
1
vote
1 answer
How to center elements in Column with vertical scroll?
I have Column with a verticalScroll(rememberScrollState()). The problem is that under certain conditions I need to center certain elements. But I can't do it, as far as I understand it happens due to the fact that the column has an infinite…

testivanivan
- 967
- 13
- 36
1
vote
0 answers
Discover the current position of the childs inside a ScrollView
I has a subclass of ScrollView that paginate its childs, it's something like this.
It's not the only thing that this class does, it's also give it's TouchsEvents if any child was able to handle it (returns true onTouchEvent)
But my problem is, on…

Marcos Vasconcelos
- 18,136
- 30
- 106
- 167
1
vote
0 answers
How to achieve nested scrolling of WebViews in a RecyclerView?
I am rendering a vertical feed of WebViews using a RecyclerView. The WebViews may have different content heights, and but we need to cap the height of a WebView to be at most the height of the feed container (RecyclerView) so that any popup wouldn't…

Chris B
- 35
- 3
1
vote
3 answers
How to make a TextView scrollable in a fragment?
I have created fragments inside an activity. Each fragment have a textview. I want to make all the textviews inside the fragments to be scroll-able. Below is my xml and java code. Thanks in advance
user16731355
1
vote
0 answers
How to make last item scroll all the way to the top of RecyclerView
I have a RecyclerView holding TextViews in its rows. When you scroll all the way down, the scrolling stops so that the last item's bottom is aligned with the RecyclerView's bottom. Is there an easy way to make the last item able to scroll so that…

Samuel
- 395
- 2
- 5
- 20