Computer Science, asked by nespressco, 9 months ago

What are the resources we should require to make one application?
(write resources name only).​

Answers

Answered by dakshayshivanand7
4
App resources such as bitmaps and layouts are organized into type-specific directories inside each module's res/ directory. You can also add alternative versions of each file that are optimized for different device configurations (such as a high-res version of a bitmap for high-density screens).

Android Studio helps you add new resources and alternative resources in several ways, depending on the type of resource you want to add. This page describes how to add basic resource files, how to change the location of your resources, and how resource merging works.

You should also see the following pages for details about how to create specific resource types:

To add layout files, see Build a UI with Layout Editor.
To add string files, see Localize the UI with Translations Editor.
To add bitmaps, see Create app icons with Image Asset Studio.
To add SVG files, see Add multi-density vector graphics.
For information about how to reference the resources from your app code, see Providing resources.

Add an XML resource file

Although the pages linked above describe workflows that are customized to each type of resource, you can add any XML resource file by following these steps:

Click the target app module in the Project window (while in either the Android or Project view), and then select File > New > Android resource file.


Fill in the details in the dialog:
File name: Type the name for the XML file (does not require the .xml suffix).
Resource type: Select the type of resource you want to create.
Root element: If applicable, select the root XML element for the file. Some resource types support only one type of root element, so depending on the type selected above, this might not be editable.
Source set: Select the source set where you want to save the file.
Directory name: The directory must be named in a way that's specific to the resource type and configuration qualifiers. So you should not edit this unless you want to add configuration qualifiers to the directory name by hand (see Available qualifiers instead).
Available qualifiers: Instead of typing configuration qualifiers for your layout directory, you can add them by clicking a qualifier from the list on the left, and then clicking Add .
Once you've added all the qualifiers you want, click OK.


HOPE THIS WILL HELP YOU
PLEASE MARK AS BRAINLIEST
Similar questions