Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0

Index

On this page

You are viewing an incomplete pre-release version of this documentation. Click here to open the current version, 17.0.

KMManager.getBannerHeight()


Summary

The getBannerHeight() method returns the height of the suggestion banner.

Syntax

KMManager.getBannerHeight(Context context)

Parameters

context : The context.

Returns

Returns the height of the suggestion banner frame in density-independent pixel (dp).

Description

Use this method to get the height of the suggestion banner frame.

Examples

Example: Using getBannerHeight()

The following script illustrate the use of getBannerHeight():

    int bannerHeight = KMManager.getBannerHeight(this);