Home > front end >  What is the difference b/t Default Android Scrolling functionality VS ScrollView / Nested Scrollview
What is the difference b/t Default Android Scrolling functionality VS ScrollView / Nested Scrollview

Time:10-30

I realize in android apps... we in Default have the functionality of being able to scroll through the different views and widgets in app we make.

So How does using a Scroll View differ from using the regular feature of being able to scroll through widgets (if we have many text views, edit text, button that take up more than screen).

** Also when, a "Good use case" should we use it?

CodePudding user response:

Most activities don't scroll, so if you want the screen to scroll you have to make it .

An example is that you use a huge screen size for your app AVD, but when you try to use it in smaller phones, only a few inputs/infos will appear because the Activity isn't scrolling.

Check the android community for more info, it's the best thing to do when you're starting https://developer.android.com/reference/android/widget/ScrollView

CodePudding user response:

Thank you all for those rather Quick and helpful replies :) This was my first Stackoverflow questions and happy with the community feedbacks

Also, I had not tried it but I assumed it as I was learning about Scroll view/Nested scrollviews.

  • Related