Make Your First Android App: Part 2/3

Learn to enhance the app you created in the first part on how to make your first Android app and to add new UI controls to add new functionality. By Matt Luedke.

Leave a rating/review
Save for later
Share
You are currently viewing page 7 of 7 of this article. Click here to view the first page.

Where to Go From Here?

You covered a lot of UI concepts in this part of the tutorial! Take a few minutes to play around with your app a little, maybe sharing something with a friend!

You can get the full source code for this part of the tutorial on GitHub or as a .zip.

Those looking for a challenge should try:

  • Implementing the Dialog you just made as a DialogFragment, as in the example here.
  • Setting up the EditText to expect names as its input so that it capitalizes first letters.
  • Dismissing the keyboard associated with the EditText.
  • Making the Done button on the keyboard do the same thing as the Update TextView button.
  • Modifying font sizes on the various views.

Hopefully you have found this helpful! If you have any comments or questions, feel free to leave them below. And of course, don’t miss Part Three, in which you set up your app to interact with data online!

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Matt Luedke

Contributors

Matt Luedke

Author

Over 300 content creators. Join our team.