Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29603

Understanding res folder in Android-Java (react-native prospective)

$
0
0

I was reading about JAVA from Google Developer Training

The Google Developer training says

the res folder holds resources, such as layouts, strings, and images

In case of RN, images aren't stored in Res (when I go to android folder in RN) so in typical android project it is not necessary to have images in Res?

2nd

values: Instead of hardcoding values like strings, dimensions, and colors in your XML and Java files, it is best practice to define them in their respective values files. This practice makes it easier to change the values and keep the values consistent across your app.

is it like environment file?


Viewing all articles
Browse latest Browse all 29603

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>