691 questions
0
votes
0
answers
44
views
CollapsingToolbarLayout won’t fully collapse behind a “bottom sheet” NestedScrollView
I am trying to create a layout where:
A top image (30% of the screen) remains fixed initially.
A layout below behaves like a bottom sheet that can scroll over the image and cover the full screen.
I ...
0
votes
0
answers
32
views
Android How to achieve smooth/natural bounce effect on scroll up down
I have NestedScrollView within I have recyclerview & other image, textual content. I want to bounce down & up (reset to original position) like effect when scroll reaches to top or bottom.
I ...
1
vote
0
answers
81
views
WebView inside NestedScrollView in ViewPager2 Shrinks and Does Not Display Content Properly with Multiple Twitter Iframes
I’m working on a layout where I need to display two WebViews inside a NestedScrollView, and this NestedScrollView is placed inside a child fragment of a ViewPager2. The goal is to display HTML content ...
2
votes
1
answer
389
views
Nested Scrolling with collapsible header not working
I have been trying to collapse/expand a header when lazy column list scroll up or down using nested scrolling. I have been using following code
@Composable
fun ScrollableScreenWithCollapsibleHeader() {...
1
vote
0
answers
80
views
nestedScroll modifier not working as expected in compose
I was trying to achieve a lazy column with custom behavior. When the user pulls the lazy column after they reached the limits, I would show a refresh indicator by using the offset.
The problem is, ...
0
votes
1
answer
30
views
How do NestedScrollView works?
I am working on an Android application and I have a toolbar and below that I have a NestedScrollView and inside that some other views. I have done everything right but still, the contents are not ...
0
votes
1
answer
42
views
How to get single item which is visible to user in recyclerview but not all the loaded items from recyclerview?
Suppose we have pagination and after getting product from pagination api
we have to call another api only for that particular product which is visible to user
not all that product which get from ...
1
vote
0
answers
43
views
Clickable element does not bring nested scroll to parent Bottomsheet behavior
My issue is the following :
I have a NestedScrollView with Bottomsheetbehavior, inside it, there is a viewpager.
The viewpager shows a fragment that contains clickable and non clickable elements.
Non ...
2
votes
1
answer
522
views
LazyColumn inside HorizontalPager becomes scrollable with a delay after page changed
I am working on a an android jetpack compose screen. Simply, the page has a TabRow with 3 tabs. Every tab has LazyColumn which shows some ui components in a scrollable manner. Also, there is one ...
1
vote
0
answers
37
views
MotionLayout bug with Recyclerview ( setTransition programmatically and back, Recyclerview Scroll did not attach to MotionLayout OnSwipe )
I have set up a transition between constraints_start and constraints_end, which is triggered by a swipe gesture on the header or NestedScrollView. The XML for this transition is as follows:
<...
0
votes
0
answers
51
views
NestedScrollView disable scrolling when recyclerview is visible
I am trying to disable NestedScrollView when my RecyclerView is visible. Below is my layout :
<RelativeLayout
android:layout_width="match_parent"
android:background="...
0
votes
1
answer
4k
views
Nested scroll not work when using Android compose with NestedScrollView
I have a parent composable that is scrollable and contains a child AndroidView. Inside the AndroidView, there is a NestedScrollView. I expected the child NestedScrollView to be able to scroll before ...
0
votes
1
answer
31
views
Determine recycler item above center or below for a recycler view nested in NestedScrollView
Have a recycler view nested in NestedScrollView
<CoordinatorLayout>
<NestedScrollView>
<RelativeLayout>
<RecyclerView>
Trying to scroll to a particular item in recycler view ...
0
votes
1
answer
612
views
Render problem with Collapse Toolbar Layout
I have the project and one of fragment use the Collapse Toolbar Layout.
Until recently, everything was fine. But last time i faced in Android Studio with the problem of render of the Collapse Toolbar ...
3
votes
3
answers
9k
views
Nested Lazy Column in JetpackCompose
I want to use the lazy column under the lazy column and have a vertical scroll view in it. While using the vertical scroll in it, I had issues. Can anyone help me create a Nested Scroll view?
Lazy ...
1
vote
1
answer
827
views
android how to scroll a view inside NestedScrollView to top of the screen how
I have a NestedScrollView contains LinearLayout with orientation vertical, i have adding multiple views programmatically to the linearLayout, after that i need to click on a specific view inside the ...
0
votes
1
answer
38
views
ExpandableListView not pushing the UI under it when expands
below is my XML code, I have multi expandable list view (5) each one with a different adapter, and all the views are inside the vertical scroll view.
but when clicking on the header of each expandable ...
0
votes
2
answers
333
views
RecyclerView set items all at once when is inside scrollView
When you create dynamic list using RecyclerView your aim is to display needed item to user not all at once that causes to wait user to see the list. But i recently noticed that when you put ...
2
votes
0
answers
101
views
Can't detect all Swipes on NestedScrollView with embedded WebView
Need to reliably detect the left and right swipe on whole NestedScrollView.
I tried various options but nothing worked so far!
Please refer the code below -
Following is the layout
<?xml version=&...
1
vote
1
answer
487
views
Why am I experiencing ANRs with RecyclerView inside NestedScrollView and what are the recommended alternatives?
We have implemented a RecyclerView inside a NestedScrollView in multiple places within our app. This is a common practice we have followed, especially on screens where a large list of items needs to ...
0
votes
1
answer
86
views
SelectionTracker drag to select doesn't work for RecyclerView inside a NestedScrollView
Expected behaviour:
Tap and hold to start a selection with SelectionTracker then drag to select more items.
Actual behaviour:
One item gets selected, then NestedScrollView starts intercepting touch ...
0
votes
1
answer
55
views
How do I scroll down and up in my Nestedscrollview programatically with some delay?
I want to scroll down once and then up programatically. The scrolling should be slow and smooth. This is my code:
scroll_1.post(() -> scroll_1.fullScroll(View.FOCUS_DOWN));
scroll_1.postDelayed(() -...
0
votes
2
answers
3k
views
Nested Scrolling in Android compose
I have a Column and inside the Column, I have a Spacer with a specific size and a LazyColumn.
What is happening now is that when I want to scroll, First LazyColumn starts to scrolling, and when it ...
0
votes
1
answer
43
views
Do I get any performance advantage by using RecyclerView for shorter data sets over NestedScrollView?
Question:
I have a NestedScrollView with 11 type of views (ImageView, 6 TextViews, 4 CardViews(with 1 RecyclerView in each)), the images of the layout is attached below. I am thinking of Implementing ...
0
votes
1
answer
420
views
RecyclewView inside NestedScrollView cause UI freeze
I'm having a number of problems using a RecyclerView inside a NestedScrollView. I have a complete freeze of the UI when I have to do the set adapter.
I've seen in other posts that it's a known issue ...
1
vote
0
answers
124
views
Bottom Sheet's scroll behavior is triggered instead of the Column's scroll behavior
I have a BottomSheetDialogFragment. In the OnCreateView, I return a ComposeView. Inside the ComposeView, I have a Column with a Vertical Scroll
since the column has quite a few items.
When I swipe up ...
0
votes
0
answers
878
views
RecyclerView inside NestedScrollView: scrolling is not working
I have RecyclerView inside NestedScrollView. What I want is to scroll entire content of NestedScrollView if NestedScrollViews content (including list passed to RecyclerViews adapter) is above certain ...
0
votes
0
answers
90
views
Multiple Scrollable views android
1st Image shows initial view when screen opened
2nd Image should be the view after scrolling down and soon after
image is passed it should locked and bottom should be able to
scroll separately
...
1
vote
1
answer
1k
views
ScrollView inside material top tabs navigation
I have this material top tabs navigation in react native :
<Tab.Navigator
initialRouteName="Screen1"
screenOptions={() => ({
swipeEnabled: true,
})}>
...
0
votes
0
answers
329
views
ScrollView can host only one direct child and i also have only one child
I have a layout which need to be scrollable.This is a fragment and the fragment hosted on a activity.The ScrollView has only one child which is relativeLayout and the relativeLayout has multiple child....
1
vote
2
answers
77
views
NestedScrollView not scrolling through all elements of RecyclerView
I have a RecyclerView displaying CardViews, which are expandable and retractable. I also have a LinearLayout of an ImageView and two Text Views displayed above it. I want to scroll the RecyclerView ...
0
votes
2
answers
81
views
Make LinearLayout and RecyclerView scroll as one container
Input data:
LinearLayout with a couple of views (further "Info")
RecyclerView with pagination
In theory, the objective is easy: make both views scrollable like a single container.
In ...
2
votes
3
answers
2k
views
nestedscroolview doesn't scroll well inside another nestedscrollview
I have a bottom sheet dialog with 2 nestedscrollview, the outer one wrap the entire view, the inner one wrap a single textview, I have 2 problems:
1.
the the inner one can scroll only down, as you can ...
0
votes
2
answers
1k
views
Strange behaviour using keyboard on ConstraintLayout
I have a problem developing my app on Android. For a long time, the app was intended to run only on tablets of fixed resolution, so we designed the layout using LinearLayouts. Now we need to deploy ...
0
votes
0
answers
154
views
how can i make one Slivers AppBar With diffrent behavior and desgin , like WhatsApp desgin?
i started my project to make WhatsApp clone to learn
now i have chalange to my AppBar ( animated , scrollbe , design )
i have used
DefaultTabController
with : Scaffold
with : NestedScrollView
with : ...
1
vote
0
answers
167
views
How to achieve nested scrolling of WebViews in a RecyclerView?
I am rendering a vertical feed of WebViews using a RecyclerView. The WebViews may have different content heights, and but we need to cap the height of a WebView to be at most the height of the feed ...
1
vote
1
answer
433
views
NestedScrollView with wrapped RecyclerView's not scrolling
I have two separate horizontal RecyclerView's that are embedded in a vertical LinearLayout, that itself is contained within a NestedScrollView - The top and bottom views have different dataset and ...
1
vote
0
answers
37
views
How to add other scrollable views before a recyclerview?
I am new to android and this is my first time asking question on stackoverflow. I am trying to implement a layout that has
A horizontal ViewPager2
Some horizontal scrolling RecyclerViews
A vertical ...
0
votes
0
answers
75
views
RecycleView in NestedScrollView duplicate items and not showing all of the iteam in the list
I have the following problem My list has 24 items when is showing them on the NestedScrollView - ReycleView its show 21 items and duplicate 3 of them so 24 item and 2 or 3 item are not shown instead ...
0
votes
1
answer
296
views
Scrollview is not scrolling in horizental positionin android
here is my XML code which I am trying. I wrote the code in the right way but I can't get the results I want so please tell me where I am mistaken in coding thanks in advance for the help.
<...
-1
votes
1
answer
102
views
nested scroll view not working inside inner recycler view
I am making an app which has a main recycler view and an internal recycler view that goes inside the main recycler view. The problem is that the list of elements is not displayed inside the recycler ...
0
votes
0
answers
279
views
Android design - appbarlayout with recycleView in FragmentContainerView
I have layout with AppBarLayout, and FragmentContainerView which might include horizontal and vertical recycleView inside it which all of them need to be scroll up and down
I don't want to Use ...
2
votes
0
answers
709
views
Android Jetpack Compose- Sticky UI vertical scrolling
I want to develop something which is mentioned in below link:
Sticky header similar like IOS
I have checked the nested scrolling from google nested scrolling but its not giving the exact behaviour. ...
0
votes
1
answer
147
views
Want to use Recycler View Inside Nested Scroll View
I am using a recycler view with multiple views nested in it recycler work fine and it also scroll smoothly but when I put recycler view inside the nested scroll view the scroll of nested view is lag ...
0
votes
3
answers
51
views
Views are not shown properly inside ScrollView with RelativeLayout or ConstraintLayout
I am trying to achieve this...
Ok this looks good no problem..BUT
here's the problem, if this is on small screen then last view is not showing properly when scrolling to the end of screen.
I've ...
0
votes
0
answers
52
views
NestedScrollView of can't scroll smoothly in CoodinatorLayout
When I use NestedScrollView in CoordinatorLayout as below, I can't scroll smoothly in ViewPager2.Sometimes it works, But only when I scroll fast. Where am I wrong? Any help would be appreciated
<?...
0
votes
0
answers
529
views
CoordinatorLayout with ViewPager2 and NestedScrollView is different then expected
When I built a layout with a coordinator layout, I have used the view pager2. The design blueprint is right while the result is wrong. The height of view pager is wrong, could you tell me where I am ...
0
votes
0
answers
97
views
HighchartView inside RecyclerView or NestedScrollView causes laggy scroll
When i place HIChartView(From HighCharts library) inside NestedScrollView or RecyclerView and try to scroll up the page by touching on the chartView, the recyclerview scroll movement is very laggy.
...
2
votes
1
answer
2k
views
How to drag down a BottomSheet view from inside a NestedScrollView?
I have inside my BottomSheet view a NestedScrollView and I want to drag down the bottomSheet when scrolling down from the nestedScrollview but it is not working.
My XML code is like below :
<...
0
votes
1
answer
131
views
Text view change when user scroll
Text view changes as user scroll the screen
How can i achieve something like that as shown in gif file above link...
I have nested scroll view in activity and layout frame inside it, in which fragment ...