Android Development Explicit & Implicit Intents

In the world of Android, an Intent is essentially an “intention” to do something. Think of it as a messenger that carries instructions from one component to another. 1. Explicit Intents: Navigating Your App Explicit intents are used when you know exactly which component you want to start (usually another Activity within your own app). […]

Android Activity Lifecycle on Create() onStart() onResume()

The Activity Lifecycle is one of the most fundamental concepts in Android development. It is the set of states an Activity flows through from the moment it is launched until it is destroyed. Understanding the first three methods—onCreate(), onStart(), and onResume()—is essential because they handle how your app “wakes up” and prepares to interact with […]

A Custom Rounded Button in Android Studio: The Classic XML Drawable (Most Versatile)

Creating a custom rounded button in Android Studio involves two main parts: defining the visual “shape” in an XML drawable file and then applying it to your button in the layout. Here are the two best ways to do this: the Classic XML Drawable method (highly customizable) and the Material Button method (the quickest way). […]

Build a login screen UI in Android Studio with XML & Kotlin

Building a login screen is the “Hello World” of Android UI development. Using ConstraintLayout is the best practice because it allows you to create complex, flat view hierarchies without nesting layouts. Here is a step-by-step guide to building a clean, modern login screen. 🏗️ 1. The XML Layout (activity_main.xml) This XML defines the visual structure. […]

Drawable Resources in Android Studio with Kotlin and XML

Drawable resources are graphics or images that you place inside the res/drawable folder of your Android project. Drawables are used for: Android uses XML drawables to reduce PNG usage and create scalable UI. 1️⃣ Shape Drawables A shape drawable is an XML file that defines a geometric shape such as: You can customize: ✔ Example: […]

Scroll to top