I'm searching for a way to do this. I' have a JSON file inside may project, for example mystrings.json, that is like this:
{
"ErrorCodes.1": "Hai superato il tempo limite",
"ErrorCodes.2": "Hai superato il tempo limite"
}
i want to use this json in this way:
<TextView
android:text="@ErrorCodes.1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
There is a way to accomplish? I'm searching but without results. Thanks in advance.