How to Make Android Constraintlayout Scrollable Using Android Scrollview

Publicado em: 09 Agosto 2020
no canal de: Coding Demos
70,104
827

Hi and welcome to another tutorial from CodingDemos :)

In this tutorial, you will learn how to make Android Constraintlayout Scrollable using Android Scrollview.

Here are the steps:
1- Open up Android Studio.

2- Open activity_main.xml file and change the root layout from Android Constraintlayout to Scrollview.

3- Add a Constraintlayout inside the Scrollview.

4- Add padding inside the Constraintlayout so that you can include other sub views.

5- Add 2 Android Textviews and 5 Buttons inside the Constraintlayout to have a scrollable effect.

6- Add margin-top in each views just to have enough space between each other.

7- Once you are done with adding those sub views, remove the padding from the Constraintlayout.

8- Finally build and run the app to see the final output.

#androiddevelopment #androidprogramming #androidtutorial #androidstudio #androidstudiotutorial #java

Links:
Android Scrollview tutorial:    • Android scrollview example  
Website: https://www.codingdemos.com
FaceBook:   / codingdemos  

Introduction 00:00
Final output 00:35
Add ScrollView & Constraintlayout in XML file 02:10
Add other views in XML file 08:55
Conclusion 13:10


Nesta página do site você pode assistir ao vídeo on-line How to Make Android Constraintlayout Scrollable Using Android Scrollview duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coding Demos 09 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 70,104 vezes e gostou 827 espectadores. Boa visualização!