android - Dynamic, multiple string config for an app -
i need changing config in app. have right strings.xml file, holds different values i.e. city_name. have different build configuration, there lot of different looking apps can build using same codebase, each 1 of them has own values directory, unique strings.xml.
what want achieve is, each app want have multiple city_name attributes "app a", strings.xml in values directory, want have city_name_xyz, city_name_abc. "app b", strings in values directory, contain city_name_123, city_name_mno etc.
so, within code obtain "_xyz" or "_mno" suffix, thing dont know how access resources dynamic name. not know start looking answers, can me.
best, radek
you can use flavors - have different strings.xml files in different flavors
Comments
Post a Comment