Create First Android App Using Kotlin | Tutorial - 1
MainActivity.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="20dp" tools:context="com.example.aaru.kotlinapp.MainActivity"> //xml was not change when use kotlin <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World!" android:id="@+id/helloWorld" android:textSize="35dp" android:layout_gravity="center" android:padding="20dp" /> </LinearLayout> ...