1,769 questions
1
vote
1
answer
115
views
ScrollView contents below navigation bar
I'm struggling with the new edge-to-edge display introduced by default with SDK 36. My scroll view contents are behind the navigation bar even when scrolled to the bottom.
I had a look at the "...
1
vote
1
answer
257
views
How to implement a scrolling behavior in Jetpack Compose similar to YouTube's channel UI?
I'm working on an Android app using Jetpack Compose, and I'm trying to implement a scrolling interface similar to the YouTube app's channel UI.
Here's what I want to achieve:
The top of the screen ...
0
votes
1
answer
50
views
Cardviews not scrollable inside scrollview
In the beginning, I searched for a solution to the problem extensively but couldn't resolve it, even after trying all the solutions and answers to similar questions here.
I have a scrollview which ...
1
vote
1
answer
66
views
Pdf generated from scrollview using PdfDocument only prints contents of first page keeping other pages blank
I want to generate a pdf document using Android's PdfDocument class by scrolling through contents of a scrollView.
Right now, correct number of pages are being generated but contents are printed only ...
0
votes
1
answer
57
views
HorizontalScrollView doesn't scroll
I want to make a Table with a solid column on the left and scrollable columns on the right that scoll horizontally.
I've devided it into two differnt Table Layouts and put the right one in a ...
2
votes
1
answer
571
views
Expo Android over scroll glitch
I have an annoying glitch when using my expo app on Android. When I use ScrollView with overScrollMode set to 'always' or 'auto' and I scroll bit fast on beginning, I can reach bit further then where ...
1
vote
1
answer
137
views
why is it showing me blank screen?
App.tsx
import React from 'react';
import type {PropsWithChildren} from 'react';
import {
Dimensions,
FlatList,
Image,
Pressable,
SafeAreaView,
ScrollView,
StatusBar,
StyleSheet,
...
0
votes
2
answers
726
views
My ViewPager2 height (android:layout_height="0dp") is not covering the parent and filling the available space, when i put it in scroll view
here i have a ViewPager inside the scroll view its 'layout_height' is 0dp
EXPECTED BEHAVIOUR : The viewPager should have covered the remaining screen
REAL BEHAVIOUR : The viewPager height gets ...
0
votes
0
answers
22
views
I'm unable to scroll horizontally in my project
I'm trying to create a story line that stacks horizontally on each other and you can scroll it horizontally from the beginning to the end but when I created it with the code below it didn't work at ...
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
488
views
ScrollView not working in android in react-native-popover-view
After upgrading react-native to version 0.71.3, the ScrollView passed as a children to react-native-popover-view is no longer scrollable in android but works in iOS. It used to work before the upgrade ...
0
votes
0
answers
86
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
...
0
votes
1
answer
1k
views
Fragment with RecyclerView inserted into compose does not scroll
I have a fragment that implements RecyclerView that I have included in jetpack compose view via AndroidView. I have pager, one page is in compose and second is in the old style.
Example of whole ...
0
votes
1
answer
35
views
ScrollView error when I have used ScrollView in both fragments
Can anyone help me to solve this?
java.lang.IllegalStateException: ScrollView can host only one direct
child
I get this error because I have used ScrollView in both fragments. How to solve this?
I ...
0
votes
2
answers
87
views
The scrollview doesn't scroll
I'm trying to use Scrollview but it is not working for me whatsoever.
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas....
0
votes
2
answers
2k
views
Android. How to show button to top of keyboard when it's opened?
I need to show my button to top of soft keyboard (when it's opened). For this I implement this https://medium.com/@madalinnita/android-how-to-move-views-above-keyboard-when-its-opened-quick-secure-...
0
votes
1
answer
75
views
How to keep Buttons stuck at bottom while the rest above are occupied by scrollable layout?
I have this RelativeLayout
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="...
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
2
answers
436
views
Android XML ScrollView wrap_content height inside ConstraintLayout
I have the following screen:
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/...
2
votes
3
answers
203
views
formatted html text (Spannable) dosen't fully appear inside textview and scrollview
I am trying to add privacy policy page in my app, the whole page is html content, and I used this method to make text scrollable but the problem is the full text dosen't appear inside textview and I ...
0
votes
0
answers
451
views
Disabling React Native ScrollView scrollbar during scrollToEnd
I'm using a ScrollView in my React Native App, and calling scrollToEnd({animated: true}) within a useEffect.
When its scrolling, the scroll bar temporarily appears. Is there some way to change that ...
0
votes
1
answer
98
views
scrollView.fullScroll(ScrollView.FOCUS_UP) not working in fragment in android studio
I have a scroll view parent in my fragment and one child view which is a constraint layout in the first child constraint layout I have many views so my question is how to scroll parent scroll view to ...
-1
votes
1
answer
74
views
Data of addview cannot appeared in linearLayout of scrollview
I am trying to applying tutorial,
this a dummy store app, I showing the data that added from user inside view then added it in linear layout of scrollview, the app is run fine and the data is added to ...
0
votes
1
answer
127
views
Android Keyboard hides TextView Element NativeScript
When I try to write something in an TextView-Element which is at the bottom of the screen, the Android keyboard hides the element. How can I resolve this issue? I already tried adding 'adjustPan' and ...
1
vote
0
answers
37
views
problem with listview in my Drawerlayout dont' scrolling
i can' scroll my listView in DrawerLayout.
mycode activity_main:
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app=&...