Questions tagged [android-scroll]

195 questions
0
votes
1 answer

Programmatically find out scrollbar size

I am using a custom view that I add scrollbars to like this: setHorizontalScrollBarEnabled(true); setVerticalScrollBarEnabled(true); TypedArray a = context.obtainStyledAttributes(R.styleable.View); initializeScrollbars(a); a.recycle() Now is there…
Andreas
  • 9,245
  • 9
  • 49
  • 97
0
votes
0 answers

Is there really no clean way to programmatically add scrollbars to a custom view?

I want to add scrollbars to my custom view programmatically. Before Lollipop, this was done in the constructor like so: setHorizontalScrollBarEnabled(true); setVerticalScrollBarEnabled(true); TypedArray a =…
Andreas
  • 9,245
  • 9
  • 49
  • 97
0
votes
1 answer

Scroll inside RecyclerView item

I have a vertical RecyclerView and inside every item a custom view with own horizontal scroll and scale. When I try to scroll view inside item I get scroll conflict RecyclerView interrupts touch event and tries to move the list. How can I restrict…
0
votes
1 answer

Stripe PaymentMethodsActivity doesn't work properly

I use PaymentMethodsActivity to allow users to manage cards on android, but there is two problem: https://stripe.com/docs/mobile/android/customer-information After adding more cards, when appears scroll, "add new card" button becomes not…
Tigran Babajanyan
  • 1,967
  • 1
  • 22
  • 41
0
votes
0 answers

Recyclerview not scrolling smooth and stuck on first 10 items

I try to make a RecyclerView smooth scrolling. I only load 10 items, with a ProgressBar while loading that disappears once loaded. Yet my RecyclerView gets stuck at the first element. I used: recyclerView.setNestedScrollingEnabled(false); Without…
user10211288
0
votes
1 answer

How can i change GridView scrolling type?

I would like to change the GridView scrolling style to scroll a section (like with ViewPager) instead of one line at a time. Can any one tell me what is the best way to implement this behavior without using any third party library?
Kobi Moshe
  • 36
  • 1
  • 7
0
votes
1 answer

How to define position of scrollbar view inside recyclerview?

I am trying to do something like this: I just need to put the scrollbar of the recycler in that position overlaping the views and no more. Why? Easy, this interface is a little complex to achieve with 2 recyclersview or 2 scrollviews and handling…
0
votes
2 answers

How to scroll recyclerview based on another one

I have two recycleView in the same layout and same SwipeRefresher one for normal result and another for VIP it's worked as well, but the VIP recycle come above the result recycle, and that gives me a wired result. The screen show VIP while scrolling…
0
votes
1 answer

Android scroll issue

I had designed a screen with logo image view and title on the top which takes about 80 dp height. Then a frame layout is kept vertically next to it. The frame layout loads fragment dynamically. The fragment holds a scrollview with input fields. The…
0
votes
1 answer

How can I scroll in droid@screen?

I am using Droid@Screen tool for screen-casting my Android app. I am not able to scroll the screen in Droid@screen. What are other alternatives to Droid@Screen? Are there any workarounds for this problem? Thanks.
murtazat
  • 399
  • 3
  • 12
0
votes
4 answers

Big Image Vertical Scroll

I have a vertical big image, I want to make it scrollable. I've made it like this,
Vladimir
  • 28
  • 1
  • 13
0
votes
1 answer

How to end scrolling of Webview 300 dps from end of Webview (or end of web page)? (Android Java)

I am unable to edit some footers on my web page and therefore would like to hide the web page footer by not allowing the user to scroll there. I have the following Webview; myWebView.loadUrl(value); …
Zac1
  • 208
  • 7
  • 34
0
votes
3 answers

Asynctask isn't setting imageresource for an imageview

I'm new to Android, so not really sure what I'm doing wrong here. I have a gridview where I'm displaying a bunch of pictures, and I'm using an adapter to populate the gridview. The gridview was scrolling very slow/laggy, so I tried using asynctask…
0
votes
0 answers

Why won't my custom view scroll when using Scroller?

I'm trying to use Scroller to move a custom view, but the view doesn't move. Can anyone help me find what's wrong with my code? public class CustomView extends View { private Scroller mScroller; public CustomView(Context context,…
sunjinbo
  • 2,137
  • 4
  • 22
  • 45
0
votes
2 answers

Mutiple listviews with one only scrolls

I need to put several listviews inner a LinearLayout. The Listviews should be wrap content to adapt the listview to their items. I need have one only scroll with which I can scroll all the listviews. I know that i can't use a scrollview because the…