Android Studio, Kotlin, and Basic App Layouts
This course begins by downloading Android studio - make sure you watch the appropriate video depending on whether you're on Mac or Windows. Then, we'll take a tour off the Android Studio interface and see how apps are put together. You'll learn about text views, buttons, and images to build a user interface for our app, and we'll also write some code to make our apps interactive.
Then we'll move onto a practical project in which we make a temperature converter app, which converts temperatures from Fahrenheit to Celsius. You'll be able to follow, building the app, and then running it on your system.
This course is intended for beginners to Android app development or anyone who wants to master coding in Kotlin.
Since this is a beginner level course, there are no requirements, but any previous experience with coding would be beneficial.
Hello, and welcome back. Before we move on to the final project of the section, I have a mini project for you. Based on how we built our app, we skipped one step which is why we have an error message showing up. If you follow the exact same steps that I did, you would also likely end up with this same error. You see over here there's a red circle right here. And if you look under Component Tree imageView there is that error. And if I click on it you see the error is being displayed and has something to do with missing constraints. All right.
Now, if you did it the way I did then you are likely to have the same issue but if you did it based on something we've covered before then you would not have this issue. So, your task if you have this issue popping up in yours is to get rid of it and it's pretty simple and the hint is in the name of the issue itself. All right. The second is if you look at the code that we used here, we've used findViewById in our method. So, your task is to switch this to view binding.
Remember for view binding usage, you have to enable this first in your project, Gradle Scripts and then this build.gradle module. You have to enable this here and then you can use your activity main binding in your code here. And you can always refer back to the video where we covered this earlier in this section, or you can google Android View Binding to look at possible solutions. All right, so good luck on this mini project, and I'll see you in the next video.
Mashrur is a full-time programming instructor specializing in programming fundamentals, web application development, machine learning and cyber security. He has been a technology professional for over a decade and has degrees in Computer Science and Economics. His niche is building comprehensive career focused technology courses for students entering new, complex, and challenging fields in today's technology space.