Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ILayout

interface ILayout
Extends com.amazon.apmf.IStandard Represents the component view’s layout

Methods

getContentFrame()

IFrame* getContentFrame()

Returns

IFrame* Frame that encapsulates the content of component view

getContentInsets()

com.amazon.kepler.uitoolkit.graphics.Rect getContentInsets()

Returns

com.amazon.kepler.uitoolkit.graphics.Rect Returns the content inset of the component’s layout inside a scroll view

getBorderWidth()

com.amazon.kepler.uitoolkit.graphics.Rect getBorderWidth()

Returns

com.amazon.kepler.uitoolkit.graphics.Rect Border width of the component’s layout

getDisplayType()

DisplayType getDisplayType()

Returns

DisplayType DisplayType of the component’s layout

getLayoutDirection()

LayoutDirection getLayoutDirection()

Returns

LayoutDirection LayoutDirection of the component’s layout
Last modified on October 29, 2026