0% found this document useful (0 votes)
157 views5 pages

3.1 Android Directory Structure

Chapter 3 outlines the Android directory structure, detailing the purpose of various folders such as Manifests, Java, Resources, Drawable, Layout, and Mipmap. It explains the significance of key files like colors.xml, strings.xml, and styles.xml in managing application resources. The chapter also emphasizes the role of these components in developing a basic Android application.

Uploaded by

Anirudh Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views5 pages

3.1 Android Directory Structure

Chapter 3 outlines the Android directory structure, detailing the purpose of various folders such as Manifests, Java, Resources, Drawable, Layout, and Mipmap. It explains the significance of key files like colors.xml, strings.xml, and styles.xml in managing application resources. The chapter also emphasizes the role of these components in developing a basic Android application.

Uploaded by

Anirudh Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Chapter 3 – UI Components and Layouts 8 Marks

Unit Outcome-
1. Explain the relevant analogy the given Directory Structure

2. Describe the steps to use the given Android rich UI component.


3. Describe the steps to use the given type of Layout.
4. Develop the given basic Android application
Android Directory Structure
• Manifests Folder
Manifests folder contains AndroidManifest.xml for our creating the android application. This file contains
information about our application such as android version, metadata, and other application components. It acts as an
intermediator between android OS and our application.

• Java folder
These files are used as a controller for controlled UI (Layout file). It gets the data from the Layout file and after
processing that data output will be shown in the UI layout. It works on the backend of an Android application.

• Resources
Resources are the additional files and static content that your code uses, such as bitmaps, layout definitions, user
interface strings, animation instructions, and more.
• Drawable
A Drawable folder contains resource type file (something that can be drawn). Drawables may take a variety of file
like Bitmap (PNG, JPEG), Nine Patch, Vector (XML), Shape, Layers, States, Levels, and Scale.

• Layout
A layout defines the visual structure for a user interface. This folder stores Layout files that are written in XML
language.

• Mipmap
Mipmap folder contains the Image Asset file that can be used in Android Studio application. You can generate the
following icon types like Launcher icons, Action bar and tab icons, and Notification icons.
Files in directory structure
• colors.xml
colors.xml file contains color resources of the Android application. Different color values are identified by a unique
name that can be used in the Android application program.

• strings.xml
The strings.xml file contains string resources of the Android application. The different string value is
identified by a unique name that can be used in the Android application program. This file also stores string
array by using XML language.

• styles.xml
The styles.xml file contains resources of the theme style in the Android application. This file is written in
XML language.

You might also like