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

Collapsing toolbar and recyclerview does not collapse when scrolling

I implemented the collapsing toolbar in one of my activities and upon scrolling the toolbar does not collapse:
Rain Man
  • 1,163
  • 2
  • 16
  • 49
2
votes
1 answer

React-Native .scrollTo with InteractionManager not working

I'm trying to get the initial position of the app at x:(device.width*2) since the app consist of 3 main views, yet it doesn't seem to move even with the animation delay, it start on the left view. componentDidMount() { const offset =…
2
votes
0 answers

Unity 5 - UI mask working incorrect (as 2D Rect Mask) on android HTC One

I have created simple scene for test in Unity 5.4.2f1 and added scroll rect with mask sprite. Sprite settings are these: In the Unity Editor and on all my android devices, such as Samsung Galaxy Tab Pro and Nexus 5X are working perfectly: But on…
Hayk Geghamyan
  • 105
  • 2
  • 11
2
votes
1 answer

How to get a ListView to scroll with ScrollableTabView?

I'm trying to get a proof of concept working with a list of elements. The list renders fine, but when I try to scroll to the bottom of the list, I'm unable to get all the way to the end. Is there a solution to this? I've set the ScrollView to have a…
2
votes
2 answers

Cocos2d-x scroll ScrollView while pressing button

using cocos2d-x-3.13.1 I have create ScrollView with 88 buttons to start different in game levels. Functionality i have: User can starts selected level. But only can scroll if initial tap position is not on button. Functionality i want: User can…
Darvas
  • 974
  • 3
  • 14
  • 27
2
votes
1 answer

My custom ViewGroup doesn't scroll inside a ScrollView

I've extended ViewGroup to achieve something like a FlowLayout. I put my custom ViewGroup into a ScrollView, dynamically add a bunch of content and it doesn't scroll. The content that flows off the screen is not viewable. What am I missing, how…
Kevin
  • 2,605
  • 2
  • 20
  • 15
2
votes
2 answers

Collapsible layout with custom view in android

Hello i am using collapsible layout and I want the behaviour of layout to change according to my scroll event as shown in the image: This is the by default image with list view and when user scrolls, the top layout should change and look like the…
2
votes
1 answer

Android Studio: scrollTo in Horizontal function isn't working

I'm making this converter app and have spent some time trying to figure out how to work this scrollTo() function to scroll to the button I desire it to be focused in a Horizontal Scroll View. I've implemented the following to my onCreate: …
2
votes
2 answers

TabLayout+ViewPager inside ScrollView

I'm trying to make this page scroll down but right now only the content inside ViewPager is scrolling not the whole page. I want to make the whole page scroll down from top, but right now it only scrolls the ListViews inside ViewPager.
2
votes
1 answer

How center items in recyclerview when scrolling

How center items in recyclerview when user scrolling,in this case in mode horizontal and show same items in the recyclerview and center items in scroll, how next examples:
2
votes
0 answers

Type of expression is ambiguous without more context in swift using xibs

Im trying to display two xib views onto a scroll view in the main storyboard, this is the code for displaying the views... let V1: ProfileViewControllerXIB = ProfileViewControllerXIB(nibName: "ProfileViewControllerXIB", bundle: nil) let V2:…
Andrew Harris
  • 396
  • 7
  • 24
2
votes
2 answers

React native determine if user is at the top of the screen

In javascript in web I would do something like this to determine if user is at the top of the scrollable page/document: $(document).scroll(function() { if($(window).scrollTop() === 0) { //do stuff } }); Is there something similar in…
Mindaugas
  • 1,173
  • 5
  • 15
  • 31
2
votes
2 answers

Add padding to FrameLayout programmatically without moving inner Fragment with ScrollView content

I need to add bottom padding or margin to the FrameLayoutin an Activity programmatically after some delay. Problem is that it is container for Fragments with ScrollView. When I set bottom padding/margin to it inner content is scrolled upwards. Top…
sswierczek
  • 810
  • 1
  • 12
  • 19
2
votes
1 answer

Horizontal RecyclerView inside ScrollView: how to get focus when vertical scrolling?

I have a ScrollView with multiple horizontal RecyclerView. The problem is this: When I scroll vertically to navigate into my app and I touch on a recyclerview to scroll horizontally, the focus remain on the scrollview and I can't scroll…
2
votes
3 answers

Show full map inside a SrcollView android

I'd like to use a Google Map inside a ScrollView but it seems harder than I thought. The first time I created everything and ran the app on a tablet. On the tablet, the UI looks good the map's size and the place is perfect. When I tried it a smaller…
J.Doe
  • 147
  • 1
  • 14