Nguyễn Trần Mai Trang
New member
How do you get layout on Kotlin?
Answer
View groups
Answer
View groups
- Select the Project > Android pane. In the app/res/layout folder, open the activity_main. xml file.
- Select the Text tab and change the root view group from ConstraintLayout to LinearLayout .
- Remove the TextView . In the LinearLayout element, add the android
rientation attribute and set it to vertical .