Android Development Cheat Sheet Resource Allocation

... ich weiß ja nicht ob Ihr es wusstet, aber hier könnt Ihr Euch vorstellen und natürlich auch schnuppern was die Anderen so von sich erzählen.

Moderators: XiDragon, BeAFrog

Android Development Cheat Sheet Resource Allocation

Postby sanjida46 on 16. Nov 2022, 04:53

Resources are the basis of android development, and it is essential for the developer to know how to use them well in order to take care of the design of an application. If you don't know exactly what it is, read the rest of this article. Want to create an application? Tell us about your project resources, what are we talking about? Android resources are files that contain essential information for the application, such as images, character strings, colors or styles. Their use represents indisputable advantages. First, the fact that they can be incorporated into the application allows designers to work in parallel with application developers. This has the effect of greatly reducing the time required to create an application.

There is also another advantage: android is intended to be used on a very large number of different supports, on which the application must be displayed in the same way. This is precisely one of the roles of resources. Application design creation adding a resource in an application is very easy. In fact, when Fax List creating a new project, android studio will automatically create r directories , and each time you add a resource, it will be assigned an id . These resources are located in the project/res folder . Here are some more specific examples of resource usage in android development: they can be used to display an application in several languages.

Image

It is indeed possible to adapt the language according to the operating system of the user. They also allow you to change the orientation of the screen (portrait mode or landscape mode). The resources make it possible to adapt the application to different sizes and types of screens (smartphone, phablet or tablet). Types of resources for android development we recommend that you check out the android developers blog to find all the detailed information about the types of resources you can use in android development. To summarize, we propose the following classification: 1. Resources used to define default animations. They are saved in the res/drawable folder with the identifier drawable.
sanjida46
 
Posts: 1
Joined: 16. Nov 2022, 04:25
Location: DFGSDFGSDGSDG

Return to Ja, Hallo erstmal ...

Who is online

Users browsing this forum: No registered users and 5 guests

cron