diff --git a/developer/engine/android/17.0/KMManager/copyHTMLBannerAssets.md b/developer/engine/android/17.0/KMManager/copyHTMLBannerAssets.md index e65007853..733a368d5 100644 --- a/developer/engine/android/17.0/KMManager/copyHTMLBannerAssets.md +++ b/developer/engine/android/17.0/KMManager/copyHTMLBannerAssets.md @@ -24,10 +24,12 @@ Returns `true` if HTML assets were copied, `false` otherwise. ## Description When suggestions aren't available for a keyboard, an HTML banner is displayed instead. -Use this method to specify any HTML assets the banner will use to theme your keyboard app. +Use this method to specify any HTML assets the banner will use to theme your keyboard app. Some examples of assets would be .svg images or .css files used in your banner. This can be called towards the end of `SystemKeyboard.onCreate()`. +You still need to call [setHTMLBanner()](setHTMLBanner) for Keyman Engine to assign the HTML banner for in-app and system keyboards. + ## Examples ### Example: Using `copyHTMLBannerAssets()` diff --git a/developer/engine/android/17.0/KMManager/setHTMLBanner.md b/developer/engine/android/17.0/KMManager/setHTMLBanner.md index daecc3aea..5990945c5 100644 --- a/developer/engine/android/17.0/KMManager/setHTMLBanner.md +++ b/developer/engine/android/17.0/KMManager/setHTMLBanner.md @@ -26,7 +26,9 @@ Returns `true` if HTML banner is set, `false` otherwise. When suggestions aren't available for a keyboard, an HTML banner is displayed instead. Use this method to specify the HTML content to display in the banner to theme your keyboard app. -Note: This needs to be updated whenever the keyboard is reloaded, so call this in `SystemKeyboard.onInitializeInterface(()`. +If the banner theme references assets (like .svg or .css files), ensure you've also called [copyHTMLBannerAssets()](copyHTMLBannerAssets). + +Note: The HTML banner needs to be updated whenever the keyboard is reloaded, so call this in `SystemKeyboard.onInitializeInterface(()`. ## Examples