Last active
October 15, 2017 15:32
-
-
Save koral--/483dc9e0f1eb696acd02e419ac6e3381 to your computer and use it in GitHub Desktop.
Resources filtering
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
//other locales will be filtered out | |
resConfigs 'en', 'hu' | |
} | |
buildTypes { | |
debug { | |
pseudoLocalesEnabled true | |
} | |
} | |
aaptOptions { | |
//this will also filter out unlisted locales | |
additionalParameters '-c', 'en,hu' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment