Questions tagged [android-scroll]

195 questions
0
votes
2 answers

Android: Recycler view inside ScrollView is not working

I am trying to put RecyclerView inside ScrollView, I Have layout above the recycler view, so I want to scroll both layout and recycler while scrolling. In My main Layout I have two sub Layout , and one of the have recyclerView and another one Have…
0
votes
2 answers

Android, canScrollVertically never called for ImageView

I am using the TouchImageView by Mike Ortiz. Within it, canScrollHorizontally is overwritten: @Override public boolean canScrollHorizontally(int direction) { matrix.getValues(m); float x = m[Matrix.MTRANS_X]; float y =…
0
votes
1 answer

How to add a fix Linear Layout programmatically in Android?

I need something like this: LinearLayout (fix) - Button LinearLayout - ScrollView - TextView - TextView - TextView I want the first LinearLayout to be fix (like a header). When someone tries to scroll down, i want the TextView to go behind…
Alex Mamo
  • 130,605
  • 17
  • 163
  • 193
0
votes
0 answers

Item missing from android grid view on scroll

I have grid view , on which each item consists of few images and text . When it loads for the first time , everything is fine but if I scroll to the bottom and the go back to top some two images are gone from a item , and it goes randomly . here is…
Mithun Sarker Shuvro
  • 3,902
  • 6
  • 32
  • 64
0
votes
1 answer

checkbox state unchanged after scroll it will become same in Android

I create a list view with checkbox. I faced a problem in my list that when I select any checkbox and when I scroll down my list that checkbox became unselected itself. Following is my code snippet: public class HomeListAdapter extends…
0
votes
3 answers

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 solution please respond, Thanks in advance
0
votes
1 answer

Android scrollable list

I have one list of elements and one AbsListView. How I can load my elements of list just when I scroll? this is my list: private List database_elemList = new ArrayList(); public class PlacesFragment extends Fragment…
cavaler12345
  • 367
  • 1
  • 5
  • 15
0
votes
2 answers

ScrollView with sub RelativeLayout does not scroll

I have a ScrollView with 1 RelativeLayout which has 3 sub RelativeLayouts: I set top RelativeLayout to alignParentTop="true", The bottom RelativeLayout to alignParentBottom="true". The middle layout…
Jemshit
  • 9,501
  • 5
  • 69
  • 106
0
votes
1 answer

Animate/hide button when close to end of ListView

I have view like this: ListView is on the whole screen and the button is always visible (on FrameLayout). I want to hide the button outside the screen (below it) with animation when user is scrolling list and he's reaching the end (animation must…
user3626048
  • 706
  • 4
  • 19
  • 52
0
votes
1 answer

3 way scroll in Android

I have 3 views: an ImageView, a RelativeLayout and a ListView. When the user scrolls down, I have to hide the ImageView first. When the top of the RelativeLayout touches the top of the screen it has to fix itself there and the scroll must be done by…
Charlie-Blake
  • 10,832
  • 13
  • 55
  • 90
0
votes
0 answers

Listview not scrolling in android Custom layout

I am using a custom layout for having rounded corners.Please find the code for the custom layout. public class RoundedCornerLayout extends FrameLayout { private final static float CORNER_RADIUS = 20.0f; private Bitmap maskBitmap; …
Zach
  • 9,989
  • 19
  • 70
  • 107
0
votes
1 answer

Android ListView - change default LinearInterpolator used in programmatic smooth scrolling

I am using ListView to implement a simple slot machine. I want to use it's view recycling features. Everything is fine except that I can't find a way to change the default animation interpolator used. This is the line of code that is smooth…
0
votes
0 answers

android lollipop: content above tabs: scrolling issue

I have an activity just like Google NewsStand where there is an image above tabs. When the user starts scrolling up, the image and tabs start scrolling up (as if the scrolling is disabled for the contents under the tabs) and the contents of the tab…
nomongo
  • 3,435
  • 7
  • 30
  • 33
0
votes
0 answers

How to get the bitmap of complete scrolled area of view implemented with GestureListener with Scroller

What I have Tried: I'm drawing shapeDrawables in onDraw(Canvas canvas) in a custom view with using GestureListener in view for Scroller (not scrollview). code is available on Gist I'm trying to take the Bitmap image of that view which contains…
LOG_TAG
  • 19,894
  • 12
  • 72
  • 105
0
votes
1 answer

how to get the right item of an ListView

I have an ListView with 5 different layouts, one of them is an VideoView. The whole ListView ist like an Circular loop with those 5 items like explained here. Now i want the VideoView to stop playing when the ListView starts Scrolling. When im…
Daniel Storch
  • 327
  • 1
  • 3
  • 15