Skip to main content

Posts

Showing posts with the label Hello World

Android Hello World Kotlin App for Beginners

In this tutorial, we will learn how to create a Hello World Android app in Kotlin  on Android studio using Kotlin programming language. Start Hello World Android Application by starting Android Studio . Select the Activity type and click next. Setup Project Provide an application name ('Hello World' in my case) and check 'Include Kotlin support ' and proceed also  Select Minimum SDK for android application and click finish. Kotlin Android App Project Structure Look at XML design layout Android Hello World Kotlin Code Let’s look at the layout file i.e.  activity_main.xml  looks like: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout 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...