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
1 answer

Scrollview inside viewpager scroll vertical not working

Below is my code but its not working properly, want a viewpager with scrollview in all fragment. Scrolling of the scrollview is not working,facing problem from last 2 hrs and not getting a solution.Please help me its urgent.Not able to solve this…
Ankita Singh
  • 304
  • 3
  • 17
2
votes
2 answers

WPF - How to add onScroll Event to ListBox and Access the ScrollViewer

I define my ListBox like this in XAML:
pixel
  • 9,653
  • 16
  • 82
  • 149
2
votes
0 answers

RecyclerView or LayoutManager footer

I'm working on a custom RecyclerView and I need to make rows of images that expand/collapse when scrolling. I did everything except the last row won't expand because the scroll has reached it's end and onScrolled is not called anymore. My first…
slorangex
  • 1,334
  • 2
  • 12
  • 25
2
votes
1 answer

Synchronizing ScrollView and NestedScrollView

I have the following layout:
Jignesh Shah
  • 599
  • 1
  • 5
  • 13
2
votes
1 answer

scroll the view simultaneously as the scrollView scrolls

scrollPositionX: new Animated.Value(0), scrollEventThrottle={16} onScroll={Animated.event([{nativeEvent: {contentOffset: {x: this.state.scrollPositionX}}}] )}
2
votes
0 answers

RecyclerView Header hidden by Keyboard

I have a RecyclerView that I created along with a header. What happens is that the header is hidden by the keyboard when I try to click on my EditText when I press on the keyboard. The ListView portion of the RecyclerView shows up perfectly but the…
2
votes
4 answers

android auto scroll when clicked on edittext

When user click on edittext I want the screen to scroll to show the edittext in the middle of the screen. So I tried to listen to touch (setOnTouchListener, also tried with onClick and onFocuse) and then smoothScrollTo screen to put the edittext in…
Yuval Levy
  • 2,397
  • 10
  • 44
  • 73
2
votes
1 answer

Edit children in scrollview where scrollview is a child of relativelayout in android studio

In my xml hierarchy, I have the root element as a RelativeLayout and then a Scrollview as a child. That ScrollView then has a RelativeLayout with views inside it. My problem is that I cannot edit the contents in the ScrollView as the design view of…
2
votes
1 answer

UI Scroll View doesn't scroll as intended

Using the storyboard and auto-layout I drag a scroll view into the view controller and satisfy auto-layout constraints appropriately. I add in a Label centred on the screen with the appropriate auto-layout constraints. Implemented the following…
Vince
  • 691
  • 1
  • 8
  • 18
2
votes
0 answers

custom list view click on row item but its not give me right data after scrolling

i have click on listview row layout and get text but its provide wrong data after then scrolling list means below code sales convert into service. convertView.setTag(viewHolder); viewHolder.clickViewLayout.setTag(position); …
2
votes
1 answer

Android 6 WebView running OutOfMemory

I've run into a problem, everything was fine prior SDK 23. But now I get these errors: W/art: Throwing OutOfMemoryError "Failed to allocate a 61819212 byte allocation with 4032304 free bytes and 3MB until OOM" W/JavaBrowserViewRendererHelper:…
bradlol
  • 41
  • 1
  • 6
2
votes
1 answer

listview inside scrollview not working on android version lower than API 18

ListView inside ScrollView works perfectly on android API greater than 18 but, with lower than API 18 app crash showing java.lang.NullPointerException in line listItem.measure(0, 0); on MyUtils.java MyUtils.java public static void…
jazzbpn
  • 6,441
  • 16
  • 63
  • 99
2
votes
1 answer

Android: How to display two fragments with RecyclerView in one screen

I have two fragments, each with its own respective RecyclerView list. The RecyclerView from each of the fragments may contain many items. So, scrolling will mostly be necessary. My problem is, how do I combine and display these two fragments into…
2
votes
2 answers

Making Android RadioGroup Scrollable inside a tabhost

I have a TabActivity which the layout file is the following,I have the tab options in the radiogroup,I want to set size of the radio buttons according to the display size and make the radiogroup scrollable.
2
votes
1 answer

layout below viewpager is not showing in scroll view

My goal is putting header and footer to viewpager (where viewpager have child fragment of Recycle,Listviews etc .).when user scroll up i am setting setTranslationY to header and sticking the tabs of viewpager to toolbar .upto this everything is…
Anshul Kabra
  • 129
  • 17
1 2 3
99
100