Subscribe my channel to receive new video: / @johnleandroid
Watch more here : / @johnleandroid
Source code: https://github.com/john-lq/android-ex...
ButtonBackground source code: https://github.com/john-lq/android-ex...
This is the contents of the video in the Kotlin Android for beginners serial:
Place HorizontalScrollView in the layout file
Adding view into HorizontalScrollView in the layout file.
Adding view into HorizontalScrollView dynamically.
Some notes:
HorizontalScrollView is a subclass of FrameLayout.
Can only hold one view or ViewGroup.
Holds all content in memory.
Not good for long texts, complex layouts.
Do not nest multiple scrolling views.
Use ScrollView for vertical scrolling.
Use a RecyclerView for lists.
If the video is helpful, please click Share and Subscribe
#kotlin,#kotlinandroidtutorial,#johnleandroid, #horizontalscrollview, #recyclerview, #scrollview, #framelayout, #androidstudio, #kotlinandroid, #kotlintutorial