Questions tagged [scrollview]

Be sure to use a **platform specific** tag. Use this tag only for the most general questions about scroll views on all platforms. A scroll view is a view that can be scrolled by the user, inside a containing area. One of the basics of all modern UX.

A view that can be scrolled by the user, inside a containing area.

It is essential to use for Android's ScrollView. It is essential to use for the iOS ScrollView.

6948 questions
2
votes
2 answers

RecyclerView to be Scrolled horizontally with the width

I have more items to show in the cardView horizontally inside a recyclerView and I have more cards veritically. I tried to place cardView inside a HorizontalScrollView, It worked to scroll the idividual card. I wanted to scroll the entire…
12345
  • 23
  • 3
2
votes
3 answers

ScrollView can host only one direct child but it has only one

I keep getting this error whenever I start the activity. Here's the complete stack trace: Process: com.example, PID: 28799 java.lang.RuntimeException: Unable to start activity…
Alex Ferg
  • 801
  • 1
  • 9
  • 17
2
votes
2 answers

WPF Programatically scrolling a canvas in a items control

I have an ItemsControl that contains a canvas within a ScrollViewer. The canvas is large and only a portion of it displays at a time. I want to programatically scroll it (the user clicks and drags the canvas to scroll). I looked through the…
Aishwar
  • 9,284
  • 10
  • 59
  • 80
2
votes
1 answer

CoordinatorView Scroll not working

I am using android.support.design.widget.CoordinatorLayout in conjunction with android.support.design.widget.AppBarLayout to try and implement a hide toolbar on my app when scrolling through a listView. However, the Scroll dos not work when I…
Colonel Mustard
  • 1,482
  • 2
  • 17
  • 42
2
votes
1 answer

Disable scroll down from ListView - Android

I have an Activity that has multiple TextViews and one ListView at the end of it. I noticed that the ListView has its own Scroll down, what I want to do is disable the ListView scroll down and create one ScrollView for the whole screen. Can I do…
Marcos Guimaraes
  • 1,243
  • 4
  • 27
  • 50
2
votes
2 answers

How to put a Datepicker inside a scrollview

Hello I know this has been answerd but I'm still having problems understanting what to do becasue I'm new to android. I just want to gather some info like a name, phone number, email, address and a date. The problems is that a have to put a…
2
votes
1 answer

Android scrolling function in cardView + RecyclerView layout

In my application I have first the cardview and then RecyclerView. Using my existing code I am able to scroll the whole page. But I want that I can also scroll only the card view items. Currently when I try to scroll cardview the complete layout is…
2
votes
0 answers

detecting swipes on scrollview

I'm trying this code to detect left and right swipes on scrollview. Only leftToRight swipe gets detected, I'm not able to get RightToLeft swipe. Even scrolling scrollview it detects as leftToRight swipe. I got this code…
akshay bhange
  • 2,320
  • 2
  • 28
  • 46
2
votes
1 answer

Auto-Scroll ScrollView

I have a ScrollView with a TextView inside of it. I want to make sure that the app automatically scrolls down to the bottom each time text is entered into the TextView.
Elimination
  • 25
  • 1
  • 7
2
votes
1 answer

Sticky Header/Footer with ScrollView in between

I face that situation multiple times creating application and I don't really know how to handle it properly. These are the elements I want: Sticky view at the top (Toolbar or label...) ScrollView containing an undefined number of elements (Lets say…
Jaythaking
  • 2,200
  • 4
  • 25
  • 67
2
votes
2 answers

Android MapView only scrolling vertically

My Problem: I can just scroll up and down within my MapView, not left and right. I have a MapView in my LinearLayout, which is holded by a Nested Scroll View. So my layout.xml looks like this:
2
votes
2 answers

Scrollview doesn't show scrollbar

my Android TextView xml is very simple like below, I used style ScrollView but it won't show scrollbar, even when the text is exceeding the bottom and there is no way for me to see what's beyond. How to enable the scrollbar please? I think…
ykcadcg
  • 73
  • 1
  • 10
2
votes
1 answer

What is the meaning of "getScrollX and getScrollY" in View

Recently I want to write a custom view which is related to scroll. When I use scrollTo(100,0), accounting the view will move right, but the result is that the view move left. I know scrollTo means that the view content moves not the view moves, but…
Howard
  • 21
  • 1
  • 2
2
votes
1 answer

How to disable the overscroll in scrollview but only in the top for android?

I know the we can turn off the overscroll via overscroll mode. But how do i control it in a way the that bottom has the overscroll effect while the top doesn't has the overscroll effect in a scroll view?
Zhein
  • 21
  • 2
2
votes
2 answers

Android Translate ScrollView and Views in sync (Programmatically)

I have a FrameLayout at top and ViewPager at bottom FrameLayout has PagerTabStrips ViewPager has ScrollView in it. What I am trying to achieve is that on the scroll of ViewPager's ScrollView, I want to translate Y position of ViewPager and…
Adnan
  • 1,440
  • 2
  • 18
  • 38