Skip to Content
Learn Android Studio 4: Efficient Java-Based Android Apps Development
book

Learn Android Studio 4: Efficient Java-Based Android Apps Development

by Ted Hagos
October 2020
Beginner to intermediate content levelBeginner to intermediate
334 pages
6h 2m
English
Apress
Content preview from Learn Android Studio 4: Efficient Java-Based Android Apps Development
© Ted Hagos 2020
T. HagosLearn Android Studio 4https://doi.org/10.1007/978-1-4842-5937-5_6

6. Activities and Layouts

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 
What we’ll cover:
  • Overview of Android activities

  • Layout files

  • View objects

Most of the apps you will build will have a UI. In the previous chapter, we learned that to create a simple app with UI, we need (1) an Activity class, (2) a layout file for that Activity class, and (3) a manifest file. Thankfully, we get these three things from the project creation wizard.

In this chapter, we will examine the Activity component a lot closer. We will learn more about the constituent parts of an Activity, the Java class, and its related layout file.

Activity

The Activity component is responsible ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Studio IDE Quick Reference: A Pocket Guide to Android Studio Development

Android Studio IDE Quick Reference: A Pocket Guide to Android Studio Development

Ted Hagos

Publisher Resources

ISBN: 9781484259375Purchase LinkPublisher Website