Hey Readers, I hope you all are fine. So today we are going to learn about how to create MaterialAlertDialogBuilder in kotlin are you ready to learn🤔.
Let’s get Started :
Step 1: Add Dependency to build.Gradle
// Material Dialogs
// Material theme
Step 2: So first of all in XML, we are going to create FloatingAction Button you can take any button and it depends totally upon the user. Here we are taking a floatingActionButton.In fragment_home.xml Please write the below code.
My journey started when I took admission in Computer Science Engineering (Cloud-Based Applications). After taking admission in CSE(CBA), I was not serious about my career. I don’t like computer stuff and I don’t know anything about the computer although I’m good at watching movies and playing games on them 😁. While taking admission in CSE I thought that college professors will teach us about how to build software and so I was very excited. I wanted to become a software developer but I didn’t know what actually a software does, why we need software.
Frankly speaking, it seems cool to…
In this tutorial, we will learn how to use Intent and then we will pass the data using Intent from one activity to another.
What is Intent??
Through Intent we can move from one activity to another activity and Intent can also be used to pass the data from one activity to another activity.
In the previous article, we designed the Login Page and now we will learn how to use Intent to pass data from LoginActivity to the next activity.
First of all, we have to link the views of activity_login.xml with LoginActivity In activity_login.xml, we have…
In this tutorial, you will learn how to create a simple Login UI in Android. This is my first blog post on Android development and hence suggestions and feedback are always welcomed.
In order to user the new material design by Google, we need to add the material dependency to the app level build.gradle file.
Create a new file name LoginActivity as shown below.
Android developer in kotlin