Last " /> Last " /> Last "/>

android java R.string.xxxx gives wrong value

4.5k views Asked by At

I am calling the following context.getResources().getString(R.string.last_call)

In my string file i have amongst others

<string name="last_call">Last Call</string>
<string name="language">Preferred language</string>

Instead of seeing "Last Call" as expected I am getting Preferred language

How is this possible????

0

There are 0 answers