Method AddLocalizationToAndroidGradleProject
AddLocalizationToAndroidGradleProject(string)
Updates the Gradle project 'strings.xml' file with localized values using the App
Declaration
public static void AddLocalizationToAndroidGradleProject(string projectDirectory)
Parameters
Type | Name | Description |
---|---|---|
string | projectDirectory | The root project directory to be updated. This is where the Android player was built to. |
AddLocalizationToAndroidGradleProject(string, AppInfo, RoundIconsInfo, LegacyIconsInfo, AdaptiveIconsInfo)
Updates the Android Gradle project file with localized values using App
Declaration
public static void AddLocalizationToAndroidGradleProject(string projectDirectory, AppInfo appInfo, RoundIconsInfo roundIconsInfo = null, LegacyIconsInfo legacyIconsInfo = null, AdaptiveIconsInfo adaptiveIconsInfo = null)
Parameters
Type | Name | Description |
---|---|---|
string | projectDirectory | The root project directory to be updated. This is where the Android player was built to. |
App |
appInfo | Contains the localized values for the App. |
Round |
roundIconsInfo | Contains the localized values for Android Round Icon. Refer Android documentation for more details : https://developer.android.com/about/versions/nougat/android-7.1.html#circular-icons |
Legacy |
legacyIconsInfo | Contains the localized values for Android Legacy Icon. |
Adaptive |
adaptiveIconsInfo | Contains the localized values for Android Adaptive Icon. . Refer Android documentation for more details : https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive |