SlideShare a Scribd company logo
Android Application Resources



Android Application Development India (AADI) is a professional Android Development
company based in Ahmedabad, Gujarat. AADI is an umbrella organisation providing
comprehensive Android solutions using its resources and talented Android developers.

                                    An Android application is composed of more than just
                                    code—it requires resources that are separate from the
                                    source code, such as images, audio files, and anything
                                    relating to the visual presentation of the application.
                                    For example, you should define animations, menus,
                                    styles, colors, and the layout of activity user interfaces
                                    with XML files. Using application resources makes it
                                    easy to update various characteristics of your
                                    application without modifying code and—by
                                    providing sets of alternative resources—enables you
                                    to optimize your application for a variety of device
                                    configurations (such as different languages and screen
                                    sizes).

For every resource that you include in your Android project, the SDK build tools define a
unique integer ID, which you can use to reference the resource from your application
code or from other resources defined in XML. For example, if your application contains
an image file named logo.png (saved in the res/drawable/ directory), the SDK tools
generate a resource ID named R.drawable.logo, which you can use to reference the
image and insert it in your user interface.

One of the most important aspects of providing resources separate from your source code
is the ability for you to provide alternative resources for different device configurations.
For example, by defining UI strings in XML, you can translate the strings into other
languages and save those strings in separate files. Then, based on a language qualifier
that you append to the resource directory's name (such as res/values-fr/ for French
string values) and the user's language setting, the Android system applies the appropriate
language strings to your UI.

Android supports many different qualifiers for your alternative resources. The qualifier is
a short string that you include in the name of your resource directories in order to define
the device configuration for which those resources should be used. As another example,
you should often create different layouts for your activities, depending on the device's
screen orientation and size. For example, when the device screen is in portrait orientation
(tall), you might want a layout with buttons to be vertical, but when the screen is in
landscape orientation (wide), the buttons should be aligned horizontally. To change the
layout depending on the orientation, you can define two different layouts and apply the
appropriate qualifier to each layout's directory name. Then, the system automatically
applies the appropriate layout depending on the current device orientation.

AADI – Android Application Development India is one of the divisions of HiddenBrains,
an ISO 9001:2008 certified and Microsoft Certified Partner Offshore software and web
application Development Company. AADI is the professional Android Solution
providing company that deems in performing every possible technical and non technical
effort to meet the desires of the clients and achieving 100% client satisfaction.

To know more about AndroidApplicationDevelopmentIndia.com - AADI and its services
visit http://www.androidapplicationdevelopmentindia.com/ and please contact us.

More Related Content

DOCX
Dileep resume
PPT
Educ190report- Materials Generator
PPTX
Peoplesoft Basic App designer
PPTX
CorelDraw - R.D.Sivakumar
PPT
People soft application-designer-practice-8.43
PPT
Android Application Development
PPT
Android ppt
PDF
Speed delivery of Android devices and applications with model-driven development
Dileep resume
Educ190report- Materials Generator
Peoplesoft Basic App designer
CorelDraw - R.D.Sivakumar
People soft application-designer-practice-8.43
Android Application Development
Android ppt
Speed delivery of Android devices and applications with model-driven development

Similar to Android application resources (20)

PPTX
Android 1-intro n architecture
PDF
Mobile Application Development Lecture 05 & 06.pdf
PDF
Android workshop series
PDF
Blending Creativity and Technology With Android App Development
PDF
Native mobile app development pros, cons, alternatives, and cost optimization
PPT
PPT Companion to Android
PDF
Android app development.pdf
PDF
Android training in Hyderabad
ODP
Intro To Android App Development
PDF
Mobile Application Development-Lecture 01 & 02.pdf
PPTX
Getting started with android
PPTX
ch1introduction about android development.pptx
PPTX
PDF
01 what is android
PPT
UPDATED Application fundamentals lec 1 &2.ppt
PPTX
architecture of android.pptx
PPTX
Seminar on android app development
PPTX
Android apps
PPTX
What Is A Technology Stack?
PDF
B041130610
Android 1-intro n architecture
Mobile Application Development Lecture 05 & 06.pdf
Android workshop series
Blending Creativity and Technology With Android App Development
Native mobile app development pros, cons, alternatives, and cost optimization
PPT Companion to Android
Android app development.pdf
Android training in Hyderabad
Intro To Android App Development
Mobile Application Development-Lecture 01 & 02.pdf
Getting started with android
ch1introduction about android development.pptx
01 what is android
UPDATED Application fundamentals lec 1 &2.ppt
architecture of android.pptx
Seminar on android app development
Android apps
What Is A Technology Stack?
B041130610
Ad

More from Steve Smith (14)

DOC
Hire android developer
DOC
Google android os
DOC
Android application fundamentals
PPT
About android applications
PPT
Benefits of aadi
PPT
Android web development
PPT
Android social networking
PPT
Android application development
PPT
AADI Services
PPT
Android application development india
DOC
Google android app development
DOC
Business model
DOC
Android web development
DOC
Hire android developer
Google android os
Android application fundamentals
About android applications
Benefits of aadi
Android web development
Android social networking
Android application development
AADI Services
Android application development india
Google android app development
Business model
Android web development
Ad

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Monthly Chronicles - July 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf

Android application resources

  • 1. Android Application Resources Android Application Development India (AADI) is a professional Android Development company based in Ahmedabad, Gujarat. AADI is an umbrella organisation providing comprehensive Android solutions using its resources and talented Android developers. An Android application is composed of more than just code—it requires resources that are separate from the source code, such as images, audio files, and anything relating to the visual presentation of the application. For example, you should define animations, menus, styles, colors, and the layout of activity user interfaces with XML files. Using application resources makes it easy to update various characteristics of your application without modifying code and—by providing sets of alternative resources—enables you to optimize your application for a variety of device configurations (such as different languages and screen sizes). For every resource that you include in your Android project, the SDK build tools define a unique integer ID, which you can use to reference the resource from your application code or from other resources defined in XML. For example, if your application contains an image file named logo.png (saved in the res/drawable/ directory), the SDK tools generate a resource ID named R.drawable.logo, which you can use to reference the image and insert it in your user interface. One of the most important aspects of providing resources separate from your source code is the ability for you to provide alternative resources for different device configurations. For example, by defining UI strings in XML, you can translate the strings into other languages and save those strings in separate files. Then, based on a language qualifier that you append to the resource directory's name (such as res/values-fr/ for French string values) and the user's language setting, the Android system applies the appropriate language strings to your UI. Android supports many different qualifiers for your alternative resources. The qualifier is a short string that you include in the name of your resource directories in order to define the device configuration for which those resources should be used. As another example, you should often create different layouts for your activities, depending on the device's screen orientation and size. For example, when the device screen is in portrait orientation (tall), you might want a layout with buttons to be vertical, but when the screen is in landscape orientation (wide), the buttons should be aligned horizontally. To change the
  • 2. layout depending on the orientation, you can define two different layouts and apply the appropriate qualifier to each layout's directory name. Then, the system automatically applies the appropriate layout depending on the current device orientation. AADI – Android Application Development India is one of the divisions of HiddenBrains, an ISO 9001:2008 certified and Microsoft Certified Partner Offshore software and web application Development Company. AADI is the professional Android Solution providing company that deems in performing every possible technical and non technical effort to meet the desires of the clients and achieving 100% client satisfaction. To know more about AndroidApplicationDevelopmentIndia.com - AADI and its services visit http://www.androidapplicationdevelopmentindia.com/ and please contact us.