Linked Questions
17 questions linked to/from android: ViewPager and HorizontalScrollVIew
11 votes
1 answer
10k views
Scroll inside an EditText which is in a ScrollView [duplicate]
Is it possible to scroll inside an EditText which is in a ScrollView? <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content"> <LinearLayout ...
228 votes
9 answers
137k views
HorizontalScrollView within ScrollView Touch Handling
I have a ScrollView that surrounds my entire layout so that the entire screen is scrollable. The first element I have in this ScrollView is a HorizontalScrollView block that has features that can be ...
16 votes
8 answers
35k views
ViewPager inside ScrollView - vertical scroll doesn't work
So, I have this ScrollView with one child - a LinearLayout that has two children: a TextView and a ViewPager. ViewPager contains layout with many elements, that's why i need the ability to scroll ...
11 votes
1 answer
29k views
Detecting touch/tap events within a viewpager
I'm quite new to android development and at the moment I'm working with a viewpager, trying to understand how I can handle touch/tap events. I've spent all morning searching for answers to this and I ...
13 votes
3 answers
19k views
Disabling & Enabling Paging In ViewPager in Android
I am using android compatibility package version 4 for displaying pdf pages in my app. I have used PagerAdapter & ViewPager for displaying pdf pages like horizontal scroll view. Now the problem ...
8 votes
2 answers
9k views
Design a HorizontalScrollView inside of ViewPager or use fragments:
I need to design the following screen, and I need your advice: Explanation: The title is static/fixed and I don't need to do anything with it. Yellow: this is the interesting part, I need to design ...
6 votes
3 answers
2k views
DrawerLayout with HorizontalScrollView into content menu
my question is simple. Can I use an HorizontalScrollView inside the content menu of a DrawerLayout? My DrawerLayout looks like this: <android.support.v4.widget.DrawerLayout android:id="@+id/...
5 votes
2 answers
6k views
Horizontal scroll view in horizontal scroll pages
I have an app based on Android-ViewPagerIndicator. I would like to create an HorizontalScrollView in a Fragment .The view will include some pictures. My problem is that my Scrolling view isn't ...
19 votes
0 answers
4k views
Android: How to intercept touch event in ViewPager2
How to prevent swiping in androidx ViewPager2 when the touch event is coming from inside a nested view (e.g. a HorizontalScrollView, etc)? I expected this to be possible by overriding ViewPager2....
2 votes
1 answer
3k views
android:How to solve ViewPager TouchEvent conflict with my custom View?
In my application I have a custom View (that extends ImageView) and in it we handle the touch events to move Image. Then I make ViewPager to slide right or left to show the next layout. The custom ...
3 votes
0 answers
3k views
android ViewPager with ImageView child views - touch events are not passed to childrens
I have ViewPager view with RelativeLayout child views. The child view contains an ImageView and TextView. The problem is that event if I set setOnTouchListener to ImageView, it is not called when ...
2 votes
1 answer
2k views
Touch or Click event ViewPagerIndicator in Android
May be duplicate of: Intercepting touch events in ViewPagerIndicator Disabling & Enabling Paging In ViewPager in Android android: ViewPager and HorizontalScrollVIew I am using ViewPagerIndicator ...
0 votes
1 answer
2k views
How to handle touch event HorizontalListScrollview or horizontalListview inside Viewpager in android?
I have implemented HorizontalListView inside ViewPager. ViewPager works fine but a child of ViewPager (HorizontalListView) doesn't scroll. Instead the whole page scrolls to next. How to solve touch ...
0 votes
1 answer
558 views
ViewPager overlap HorizontalListview in android
I am using viewpager and fragments and display different section. At bottom, I have used Horizontallistview from A to Z and if i click display respective data with letter indicates. Problem: When ...
1 vote
0 answers
820 views
Android - Swipe/Fling + MapView with MapOverlay
I have an android app with an activity that swipes (left to right) between 3 views. One of those views displays GoogleMaps. In addition to that I need to have scrolling up and down (not in the map but ...
1 vote
0 answers
377 views
Table content in webview is not scroling properly
I have a webview in that I am loading a webpage which has a table of values which can be scrolled horizontally. In webview it is not able to scroll properly. Webview is inside a fragment in ViewPager. ...
2 votes
0 answers
234 views
HorizontalScrollView inside PagerAdapter
When I add ScrollView inside pager and scroll right it is scrolling between pages, and not inside the ScrollView. How do I prevent scrolling between pages until the condition happens? How do I make it ...