android-scrollview Questions

12

When I try to write something in an EditText which is at the bottom of the screen, the soft keyboard hides the EditText. How can I resolve this issue? Below is my xml code. I'm using this in a Frag...

4

I have a ScrollView defined like: <ScrollView ... .../> <LinearLayout ... ...> <!-- content --> </LinearLayout> </ScrollView> And I fill the LinearLayout ...
Shem asked 23/4, 2014 at 13:57

11

Solved

I have a simple input form; it's a vertical LinearLayout with EditTexts inside a ScrollView. <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content"> <Linear...
Weiland asked 21/3, 2011 at 9:36

8

Solved

I am using a TableLayout. I need to have both horizontal and vertical scrolling for this layout. By default I am able to get vertical scrolling in the view but horizontal scrolling is not working. ...
Darton asked 9/9, 2009 at 13:11

12

Solved

I've got a layout with some views, from which one is an EditText. The layout easily fits on one page, BUT, when the soft keyboard is out, the layout doesn't scroll. Here's a recap of my layout: &lt...
Tetrasyllable asked 11/3, 2013 at 16:12

16

I have a RecyclerView. Each row has a play button, textview and Progressbar. when click on the play button have to play audio from my sdcard and have to progress Progressbar The problem is when i s...
Knut asked 18/8, 2015 at 6:40

5

Solved

In my Android app, I have a few views (Buttons, EditTexts etc.) not visible initially. These are visible only on a particular button click event. I wish to move the scrollview to the end of these v...
Surfacetosurface asked 4/12, 2012 at 8:26

19

Solved

Is there any way to scroll a ScrollView programmatically to a certain position? I have created dynamic TableLayout which is placed in a ScrollView. So I want that on a specific action (like clicki...
Endowment asked 22/6, 2011 at 9:59

5

Solved

So I have a ScrollView with a LinearLayout within it. It seems that when I attempt to scroll to the bottom of my linearlayout, the bottom ~5 dip is cut off (ie bottom margin) I think it might have ...
Amy asked 27/6, 2013 at 7:53

7

I want to check if a View within a ScrollView is currently visible in Android. I am not checking if it is focused on yet but if it is currently being displayed on screen. Is there a method in View ...
Ivett asked 26/12, 2012 at 10:43

7

Solved

I'm trying to use ScrollView and Toolbar as the only childs of LinearLayout but they overlap each other. Searched a bit but didn't find anything useful, any idea how to solve this rather than givin...
Adamik asked 22/5, 2015 at 21:12

9

Solved

I want to know if there is any possible way to use RecyclerView? Before this, I used RecyclerView with fixed height inside a ScrollView but this time I don't know the height of the item. Hint: I...

16

Solved

I can't make a ScrollView properly scrolling. It always cut off the content on the bottom, as if it were a normal LinearLayout. My code <ScrollView xmlns:android="http://schemas.android.com...
Derwent asked 11/2, 2013 at 11:9

2

I have a media controller in my android activity which uses setAnchorView to set the initial position. From what I have read if the media controller is in a scrollview the window of the media contr...
Different asked 29/12, 2014 at 10:23

4

Solved

I want to implement the iOS-like bounce overscroll effect in my app. I came across this link which suggests creating a custom ScrollView. But the problem is that when I am scrolling up and down fa...

18

Solved

For my app I am using a RecyclerView inside a ScrollView where the RecyclerView has a height based on its content using this library. Scrolling is working but it's not working smoothly when I scrol...

5

Solved

I try change layout height programmatically. I have two buttons. In one button I change my layout position and second button I try to receive save position witch I was first time. <RelativeLayo...
Humid asked 26/9, 2014 at 11:2

7

Solved

What is the difference between ScrollView and NestedScrollView? Both of them, extend FrameLayout. I want to know in depth pros and cons of both of them.

4

Solved

I had a RecyclerView in ScrollView like this: <ScrollView android:layout_width="match_parent" android:layout_height="match_parent"> <!--other stuff--> <LinearLayout android:l...

19

Solved

I would like to enable ScrollView and disable it by a Button Click. Disable means like if the ScrollView wasn't there, and enable it returns the ScrollView. I want that because I have a gallery wit...
Redheaded asked 23/4, 2011 at 9:3

4

Solved

What I'm currently doing Currently, I have changed the scrollbar in my XML file using the android:scrollbarThumbVertical property like so: <ScrollView android:id="@+id/scrollView1" android...
Guildroy asked 16/2, 2014 at 3:16

8

Solved

So I have a fascinating problem. Despite the fact that I'm not manually or programmatically scrolling my view, my WebView is being automatically scrolled to after the data inside it loads. I've go...

7

Solved

I am unable to see the top most views under ScrollView. I had placed the scrollview under Relative layout. ScrollView has a child layout i.e. Linear layout which has some series of buttons. Proble...
Awning asked 26/11, 2013 at 12:2

32

Solved

I am displaying text in a TextView that appears to be too long to fit into one screen. I need to make my TextView scrollable. How can I do that? Here is the code: final TextView tv = new TextView(t...
Argive asked 17/11, 2009 at 13:43

2

I have two horizontal scrollview, and want to keep them always at the same position / distance. If user scrolls one, need to scroll programmatically the other. The challenge is, that an infinite lo...
Municipality asked 29/7, 2016 at 18:48

© 2022 - 2024 — McMap. All rights reserved.