I could not find an answer to this question anywhere so I have posted it.

Let's say I have multiple resource strings, like:

```
<string name="hello">Hello World, MainScreen!</string>
<string name="app_name">My Title</string>

```

And I reference them in my code like so:

```
R.values.hello
R.values.app_name

```

But how can I access them like this?

```
String test = "hello";
String value = R.values.test;

```

I am trying to do something like this, but on a much larger scale. Or is there a different, but better way of doing it?