In this beginner-friendly Android Studio tutorial, we’ll take a button created in Kotlin and link it to a new activity where we build a simple addition calculator. Step-by-step, you'll learn how to:
✅ Link a Button to New Activity in Android Studio
✅ Open New Screen on Button Click in Android Studio (Kotlin)
✅ Android Studio Tutorial: Button Click to Open Calculator Page | Kotlin App
✅ Design a basic calculator layout using XML
✅ Switch from ComponentActivity to AppCompatActivity
✅ Fix common Gradle and XML issues
✅ Write Kotlin code for adding two numbers
✅ Link activities using Intents
✅ Test and run the app on your mobile phone
📱 Perfect for complete beginners learning Android development with Kotlin!
🎉 Special thanks to all of you for 100+ subscribers! If you haven’t subscribed yet, make sure to hit that red button for more Android Studio and coding tutorials.
📌 Useful Gradle Dependencies:
```kotlin
check for import: import androidx.appcompat.app.AppCompatActivity
// In build.gradle.kts :
implementation(libs.androidx.appcompat)
// In libs.versions.toml :
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.0" }
📌 change Theme.xml:
parent="Theme.AppCompat.Light.DarkActionBar"
👉 Watch till the end for common error fixes and theme setup.
🔔 Subscribe for more Android tutorials: / @itech_aspirant
#androidstudio #Kotlin #androidappdevelopment #AndroidForBeginner #AddCalculator #mobileapp #androidstudiotutorial #XMLLayout #learntocode2025 #mobiledevelopment