Start a Project

setting focus to a paticular view in scroll view

In this blog we will set focus or display a particular view in the scroll view. many scenario has to display a particular view in scroll view such as  we want to display the error on the particular view when any form submition. 

ScrollView:-

A view group that allows the view hierarchy placed within it to be scrolled. Scroll view may have only one direct child placed within it. To add multiple views within the scroll view, make the direct child we add a view group.

How we will do?

How it look ?

References: – https://developer.android.com/reference/android/widget/ScrollView.html

Exit mobile version