I have started to learn Android Studio and have encountered a problem which I can't find a fix for. I'm studying in a Udemy course and we're currently working in Linear Layout. For some reason all my elements are automatically magnet to top of the layout and cannot be moved vertically.
I tried to run this question online, and was told to click a magnet icon (Auto connect to parent) but there is no such icon in my version (4.2.1)
Is there a solution for this (besides changing to relative or constraint layout?)
Thank you
Change android:orientation="vertical"
in LinearLayout