Building A Simple Android Application Part – 2

Building A Simple Android Application Part – 2

After completing the previous lesson, you have an android application that shows an activity with a text field and a button. In this lesson, you’ll add some code to MainActivity that show a Toast Message when the user clicks the Submit button. Respond to the...
Building A Simple Android Application Part – 1

Building A Simple Android Application Part – 1

Create a Layout In Android Studio, from the res/layout directory, open the content_main.xml file. Add the element. The result looks like this: Add a Text Field In the content_main.xml file, within the element, define an element with the id attribute set to...
Chapter 2 – Android Resources

Chapter 2 – Android Resources

You should place each type of resources in a specific subdirectory of your project’s res/ directory. For example, here’s the file hierarchy for a simple project: MyProject/ src/ MyActivity.java res/ drawable/ graphic.png layout/ main.xml info.xml mipmap/...
Subscribe To Android Learning

Subscribe To Android Learning

Join our mailing list to receive the latest android tutorials from our site.

You have Successfully Subscribed!