AndroidStructure
AndroidStructure
Contents
• Android project structure
• Build the first application
• Android application components
Android project structure
Android project structure
Contains your stub Activity file, which is stored at
src/your/package/ActivityName.java.
For bitmap files (PNG, JPEG, or GIF), 9-Patch image files, and
XML files that describe Drawable shapes or a Drawable objects
that contain multiple states (normal, pressed, or focused)
Android project structure
For bitmap files (PNG, JPEG, or GIF), 9-Patch image files, and
XML files that describe Drawable shapes or a Drawable objects
that contain multiple states (normal, pressed, or focused)
Android project structure
For XML files that are compiled into many kinds of resource
Android project structure
• Etc.
Android project structure
The control file that describes the nature of
the application and each of its components.
Android project structure
This file defines how ProGuard optimizes and obfuscates your code
Build the first application
Start Android Studio
Create a project inside Android Studio
Pick activity template
2. Run
Create a virtual device
Use emulators to test app on different versions of Android and form factors.