Questions tagged [android-scroll]

195 questions
8
votes
1 answer

Start my RecyclerView Horizontal Carousel from the center item

I'm creating a carousel Horizontal RecyclerView with Zoom on focused item that is starting from the first item of the RecyclerView. Code for custom CenterZoomLayoutManager: public class CenterZoomLayoutManager extends LinearLayoutManager { private…
8
votes
2 answers

Android RecyclerView smooth scroll to view that's animating their height

I have a RecyclerView with Expandable Child Views, when the child ViewGroup is clicked it inflates an amount of views animating the ViewGroup height from 0 to the measured viewgroup height, like the following gif: The problem is: I'm calling…
8
votes
2 answers

Android: Make view on top of listview scroll together with the listview

I have a listview which is obviously scrollable. The listview contains some form questions. Once the user submitts the form we put a stamp-like looking custom view on top of the listview (and prevent user from answering questions, but it doesn't…
Maria
  • 1,065
  • 11
  • 16
7
votes
0 answers

Android - NumberPicker scroll / fling faster

How can I make number picker scroll/fling faster? Currently it takes so much effort from going 00 minute to 59 minute. I've tried some example from Slowing speed of Viewpager controller in android and applied opposite of it to number picker, but I…
Alex
  • 1,052
  • 1
  • 11
  • 22
7
votes
2 answers

Controlling two ViewPager Together

I need to synchronize the two ViewPager together. The requirement is something like on scrolling the ViewPager-1 and the ViewPager-2 should also scroll by certain amount. The Image shown below will make you more clear with my question. You can…
7
votes
1 answer

Scroll a View and refresh content

I use the following user interface: A parent relative layout parentLayout with the dimensions 800x600 (width x height) A second relative layout childLayout, which is a child of the parent layout. It has the dimensions 800x1000, i.e. it is larger…
Anne Droid
  • 3,151
  • 4
  • 16
  • 15
6
votes
2 answers

How to sync scrolling of two Recyclerviews in android?

I'm trying to create an EPG in android using Recyclerviews. It needs fixed top row which scrolls horizontally to show programs corresponding to time and fixed left most column which scrolls vertically to show various channels. Based on this SO…
Sathish
  • 346
  • 5
  • 9
6
votes
2 answers

Detect when ListView has reached the bottom - onScroll() or onScrollStateChanged()?

This seems a question with many answers already; however, I can't find a common approach to this. I'm trying to add data to a ListView when the bottom is reached; data are retrieved from Internet using an AsyncTask. ListView already has an adapter…
tigerjack
  • 1,158
  • 3
  • 21
  • 39
5
votes
3 answers

ScrollView in Fragment does not scroll when the soft keyboard shows up

I have a Fragment and there is a ScrollView in that Fragment.
5
votes
0 answers

Moondroid Coverflow Scroll only between first and last object

I am using moondroid Coverflow and its working fine with my code. Now I want the item to stop scroll when it reaches its end position. As currently there is no end for scrolling. Can anybody help me out to solve. Also want to know is there any…
Munchoo
  • 313
  • 1
  • 7
  • 22
5
votes
1 answer

Android EditText Horizontal Scrollbar not Moving

My edit text: android:scrollbars="horizontal|vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:inputType="textMultiLine|textNoSuggestions" android:ems="10" android:gravity="top|left" My code: myet = (EditText)…
funerr
  • 7,212
  • 14
  • 81
  • 129
5
votes
1 answer

SeekBar inside DrawerLayout

I have a SeekBar inside the end panel of a DrawerLayout The problem is that we can't swipe the Seekbar without closing the Right Panel. If tryed to play by overriding the methods onTouchEvent and closeDrawer of DrawerLayout without success
Benoit
  • 1,922
  • 16
  • 25
5
votes
2 answers

Autoscrollable title in Android Actionbar (Marquee)

is there a possibility to make the title of an Android ActionBar scroll automatically (marquee) if it's too large?
Toni4780
  • 443
  • 1
  • 8
  • 14
4
votes
1 answer

How to make list view scrollable until the last element is on top of the screen

I am developing an application that needs to show calendar agenda, much like the agenda in the native calendar. I have a list view showing different events (Note: in the context of the question events is entity of my system). I want to provide a…
Boris Strandjev
  • 46,145
  • 15
  • 108
  • 135
4
votes
4 answers

Is it possible to add a scrollable TextView to a ListView?

I have a ListView where each row has a fixed height. Every row contains, next to some images, a TextView. Sometimes, the text I want to display is too large and hence I would like to make it scrollable. So I added (based on Making TextView…
1
2
3
12 13