How do you get layout on Kotlin?

How do you get layout on Kotlin?
Answer
View groups
  1. Select the Project > Android pane. In the app/res/layout folder, open the activity_main. xml file.
  2. Select the Text tab and change the root view group from ConstraintLayout to LinearLayout .
  3. Remove the TextView . In the LinearLayout element, add the android:eek:rientation attribute and set it to vertical .
 

Tìm kiếm

Back
Top