in

General Information About Android Studio

Hello everyone. We will get to know the Android Studio in this article.

I opened our first project in Android Studio. On the Android Studio, you will see a design page. This page looks like a phone screen.

 Whatever we design here, our application will look exactly the same on the android phone. Everything we design in this page will be saved as an XML file. We can see XML codes by clicking the text button at the bottom. You can see XML codes on this page. Everything on the front is actually generated using XML codes at the background.

I will click the design button again and we can see the design page.

Everything we need on the Android Application, for example, buttons, texts, images and etc, we will put this design page. But how we will do this? We will do this in the form of drag and drop. We will choose whatever we want to put on the left side and we will drag it and drop to the page.

After we put the component on the page, Android Studio will produce its XML codes in the background. Also, we can do the same thing by writing XML codes ourselves in the background. This is up to you. But drag and drop is the easiest way for designing an application.

For example, I will drag a text view on the page and you can see when I drop it, XML codes for this text view will be generated in the background. If I delete this text view on the front page, the XML codes will be deleted by the Android Studio. So, this is the design page.

Also, there is another page that is java code page. We will write java programming language codes on this page. After you design front page that users will see, you need to write its java codes on the java page. This page is the MainActivity.java file. You can see java codes on this page.

I need to say something in here that Android Studio separates the design part and Java Programming part of each other. It gives us convenience when we develop an Android Application. So what is the convenience?

If you want, two-person can work on a project together. For example, a designer can design the first part, and a coder can write the java code part. These two sections are separated in most large projects. But if you want to be a good Android Developer,  you need to learn two parts.

These two parts are also important. Because if your application does not have a good design,  people will not use them. Your application needs a good UX/UI design. UX means user experience, UI means user interface. We will explain these topics in the next articles. But even you have a good design, you also need to write java codes smoothly. Because if your codes are not well written, your application will not work properly. It will crush somewhere.

After we explain these topics, we can continue to the Android Studio. You can see menus on the top. Also, there is a run button on the top.

On the left side, you can see the manifest folder. This folder is important. I will explain it in another article.

Also, you can see the java folder on the left side and inside the java folder, there is MainActivity.java file.

Our design page is under the res folder and layout folder. You will see the activity_main.xml file.

 

Also, you will see android components on the left side between the folders and the design page. They are buttons, text views, radio buttons, image views, etc.

So, this article was about to know the Android Studio. I hope that it was useful.

 

Written by Kadir Yapar

I am a software developer with a Master's degree in Computer Engineering and over five years of experience in the field. My expertise spans Android, iOS, and web development, and I have a track record of developing and publishing applications for these platforms. I am dedicated to creating high-quality, user-centric software solutions and continually stay updated with the latest industry trends. My ability to collaborate effectively in cross-functional teams and adapt to emerging technologies makes me a valuable asset in the software development landscape.