stop scrolling of an element in a scrollview In android - android

I have a Scrollview that contains some textview and a listview. one of those textsviews is the title of listview. when scrolling, I need that this textview remain on the top of screen. how can I do that?

Related

NestedScrollView with recycler set scroll position

I have a NestedScrollView with a RecyclerView inside.
Each item within the RecyclerView has an EditText.
If the user LongClicks an EditText I want the screen to scroll such that the position of the editetext within the recyclerview scrolls to the top of the screen....
tried a lot of methods but think the nestedscrollview combined with recycler might be hindering this...
The reason i want this behaviour is that suppose an item in the recyclerview is near the bottom of the screen, if i click this the keyboard enters and it will be hidden, hence i want it to shift to the top, that way the edittext is visible

How to put ScrollView and OnTouchListener together in Android?

There is ScrollView on layout, that has TextView inside, for scrolling text if one more then field heigth. But when i implements onTouchListener for ScrollView, default scroll of text doesn't work. How can i scroll text and handle touchEvent? For example: swipe left and right - turn to next quote, swipe up and down - scroll invisible text

Overlap first position view by second position in android scrollview

Inside ScrollView I am adding textview dynamically to look like list view but now on scroll I want first position textview to be overlap by second or next textview item.
ref: List view with custom view items with partially overlaps (Android)

How to make a text scroll horizontally and automatically in a TextView or layout?

Is there a simple way to make a text scroll horizontally and automatically in a textView or a layout ?

android edittext and textview scroll together

I have a edittext and textview next to each other. I'd like, when I scroll with the edittext(either with finger or by adding new content to edittext) that the textview scroll the same distance. I've tried querying the getScrollY
I am not sure if I understand your question perfectly, but if I do, then I would suggest putting these two elements side by side in a Horizontal linear layout within a Scroll View. This way if / when either of the elements are moved, they will stay with each other.

Categories

Resources