All Questions
Tagged with scrollview android-linearlayout
211 questions
0
votes
2
answers
40
views
How to add scrollview to only LinearLayout in main_activity not to the whole view?
I am simply trying to add scrollbar to my linearlayout one of many views I have in the main_activity.xml. However, every time I do that it destroys my whole main_activity setup. I looked up and down ...
0
votes
0
answers
14
views
LinearLayout in ScrollView cannot scrolled
I want to scroll the '상단 타이틀' space, but the position cannot considered 'scrolling space'
The first scroll position starts with Relative layout.
The style i used (layoutMain uses layout_height: 0dp, ...
-1
votes
1
answer
80
views
Two scrollviews, one below the other, should each use half the space, but shrink in favour of the other if they are not completely filled
I have two vertical ScrollViews in a vertical LinearLayout.
If I set the layout_weight for both to 1, they both use half of the full height.
However, this is also the case if one of them only needs e....
0
votes
1
answer
26
views
Android ScrollView displaces other items
I tried all decisions from ScrollView not scrolling at all but my ScrollView doesn't work right yet.
I tried to nest the TextView inside the ScrollView without the LinearView, to set android:...
0
votes
1
answer
58
views
Android Scrollview not scrolling (contains LinearLayout which enfolds a constraintLayout)
Hej,
I am having my main activity layout in my android application, which contains a scollview. It's direct child is a linearlayout, which in turn holds a constraintlayout (it has constraint ...
0
votes
2
answers
338
views
How to add and remove views in a ScrollView without changing the current position of the view being shown?
I have a LinearLayout inside a ScrollView and I want to create the ilusion of endless scrolling by removing the views that are not visible and putting them as the next elements in the list (basically ...
1
vote
2
answers
789
views
How make ScrollView Scroll to particular position android?
I'm added child to linearlayout inside scrollview
linearlayout .addview(child);
inside for loop
then I want Scroll to any child I by code by postion or number
0
votes
1
answer
32
views
Determine responsive heights of children in a vertical LinearLayout inside of a ScrollView
I want to give responsive height to children in a vertical Linearlayout for example(some view height must be 25% of the screen height) I know this is simple if I use weight but the problem is that I ...
0
votes
1
answer
38
views
How to align linear ad layout at the bottom in the ScrollView?
Please see my code. I want to set the last linear layout at the bottom of the page. If I through it to the outside of Scrollview it did not work. Can anyone able to help me to solve it, please.. I ...
-1
votes
1
answer
85
views
Android - How to fill LinearLayout in ScrollView
There's LinearLayout in ScrollView.
I want fill LinearLayout with ViewPager,
but ViewPager's height is 0.
The area below tabLayout of LinearLayout must be filled with ViewPager.
If i set ViewPager's ...
-2
votes
1
answer
127
views
How to place button at the bottom of LinearLayout within a ScrollView
I have created an addview (xml). When I press add button it creates new one inside the LinearLayout. The add button is placed within the same linearLayout. But when I place the add button, it stays at ...
0
votes
2
answers
89
views
How to make Image Views centre in a linear layout inside a Horizontal Scroll View?
Example Diagram
I have ImageViews programmatically being added to the linear layout and want these centered in the linear layout, but the layout itself aligned to the left.
0
votes
1
answer
135
views
How do I make a scrollview grow and scroll up?
My problem is that I add new messages to the LinearLayout, and the ScrollView has the property of "leaving" up every time. Or, for example, an open keyboard causes the scroll to sink under it. I tried ...
0
votes
2
answers
187
views
What shall i do if scroll don't work when linear layout gravity="bottom"?
I make the chat display by dynamically adding message elements to the linearlayout. I ran into a problem. It is logical that when entering, lifting the keyboard scroll should not fall below and the ...
1
vote
0
answers
78
views
Unable to create layer for LinearLayout(Crashing in only Galaxy j4+, j6+)
I want adding "transitionGroup:true" ,but I want sure this code cant create error or crash on different devices?