Skip to main content

In Sketchware Pro, XMLStrings blocks allow you to work with strings stored inside your project's Android resource files (res/values/strings.xml). Storing text as XML resources makes it easy to translate your app into multiple languages and manage app-wide labels in one central place.

Built-in XMLStrings Blocks

get String from Res string: [res]​

get string from res

Retrieves the translated text value from your app's strings.xml resource file using the chosen resource identifier.

Saved Res Strings : app_name​

saved res string

A convenient shorthand block representing a saved string resource name (such as app_name). You can plug this directly into resource string input slots.

Bottom line​

That was the explanation for every built-in XMLStrings block in Sketchware Pro. If you think some info is wrong or doesn't exist, please let us know in our discord server or simply open a Pull Request in our website's GitHub repository.