Skip to content

Added support for setting string resources in generated strings.xml #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2014

Conversation

excessivedemon
Copy link
Contributor

The following adds support for setting resources to add in strings.xml - it works very similar to setting the --meta-data tag. Here is the syntax:

./build.py ... --resource [KEY]=[VALUE]

where KEY is the string name / key and VALUE is the value for that specific KEY. Here is a sample usage:

./build.py ... --resource app_id=616xxxxxxxxxx

The generated strings.xml file now contains:
...
616xxxxxxxxxx

@tito
Copy link
Member

tito commented Sep 9, 2014

Looks good, thanks!

tito added a commit that referenced this pull request Sep 9, 2014
Added support for setting string resources in generated strings.xml
@tito tito merged commit 2e25a1b into kivy:master Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants