I am consuming a JSON like the following
[
{
"Id": "BT00",
"Text": "Register"
},
{
"Id": "BT01",
"Text": "Login"
},
{
"Id": "BT02",
"Text": "Next"
},
{
"Id": "BT03",
"Text": "Yes"
}
]
and I want to put each object inside string.xml as follows
<string name="BT00">Register</string>
<string name="BT01">Login</string>
<string name="BT02">Next</string>
<string name="BT03">Yes</string>
try to do this with the following documentation https://developer.android.com/guide/topics/resources/string-resource.html#StringArray, but does not meet what I want to accomplish
Anyone have an idea how to do it?
Update: A difference of the presented answers, my case is oriented to Android and in specific to modify the instances of the folder "res"